Decompose threadId.x into coordinate of a cube whose dimensions are specified by Threads_. Afterwards compute the offset of those coordinates using Strides_.
More...
#include <shape.h>
|
static CUTLASS_DEVICE int | get () |
|
template<typename Threads_, typename Strides_>
struct cutlass::ComputeThreadOffsetFromStrides< Threads_, Strides_ >
- Template Parameters
-
Threads_ | The dimension of the cube the threadIdx.x value is mapped on |
Strides_ | The strides to use when compute the offsets based on the coordinates of the cube. |
◆ get()
template<typename Threads_ , typename Strides_ >
The documentation for this struct was generated from the following file: