Compute the offset for the given coordinates in a cube with a depth of 1.
More...
#include <shape.h>
|
static CUTLASS_DEVICE int | get (int d, int h, int w, int c) |
|
template<int S_h_, int S_w_, int S_c_>
struct cutlass::ComputeOffsetFromStrides< Shape< 1, S_h_, S_w_, S_c_ > >
- Template Parameters
-
S_h | Stride in the H dimension in scalars |
S_w | Stride in the W dimension in scalars |
S_c | Stride between two scalars. |
◆ get()
template<int S_h_, int S_w_, int S_c_>
The documentation for this struct was generated from the following file: