Cutlass
CUDA Templates for Linear Algebra Subroutines and Solvers
Static Public Member Functions | List of all members
cutlass::ComputeOffsetFromStrides< Shape< 1, S_h_, S_w_, S_c_ > > Struct Template Reference

Compute the offset for the given coordinates in a cube with a depth of 1. More...

#include <shape.h>

Static Public Member Functions

static CUTLASS_DEVICE int get (int d, int h, int w, int c)
 

Detailed Description

template<int S_h_, int S_w_, int S_c_>
struct cutlass::ComputeOffsetFromStrides< Shape< 1, S_h_, S_w_, S_c_ > >

Template Parameters
S_hStride in the H dimension in scalars
S_wStride in the W dimension in scalars
S_cStride between two scalars.

Member Function Documentation

◆ get()

template<int S_h_, int S_w_, int S_c_>
static CUTLASS_DEVICE int cutlass::ComputeOffsetFromStrides< Shape< 1, S_h_, S_w_, S_c_ > >::get ( int  d,
int  h,
int  w,
int  c 
)
inlinestatic

The documentation for this struct was generated from the following file: