Cutlass
CUDA Templates for Linear Algebra Subroutines and Solvers
Static Public Member Functions | List of all members
cutlass::ComputeOffsetFromStrides< Strides_ > Struct Template Reference

Compute the offset for the given coordinates in a cube. More...

#include <shape.h>

Static Public Member Functions

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

Detailed Description

template<typename Strides_>
struct cutlass::ComputeOffsetFromStrides< Strides_ >

Template Parameters
ALayout Concept where each dimension of the cube specifies the corresponding stride.

Member Function Documentation

◆ get()

template<typename Strides_ >
static CUTLASS_HOST_DEVICE int cutlass::ComputeOffsetFromStrides< Strides_ >::get ( int  d,
int  h,
int  w,
int  c 
)
inlinestatic

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