Skip to content

Class muda::Offset2D

ClassList > muda > Offset2D

Public Functions

Type Name
MUDA_GENERIC Offset2D ()
MUDA_GENERIC Offset2D (size_t offset_in_height, size_t offset_in_width)
MUDA_GENERIC cudaPos cuda_pos () const
MUDA_GENERIC size_t offset_in_height () const
MUDA_GENERIC size_t offset_in_width () const

Public Static Functions

Type Name
MUDA_GENERIC Offset2D Zero ()

Public Functions Documentation

function Offset2D [1/2]

inline MUDA_GENERIC muda::Offset2D::Offset2D () 

function Offset2D [2/2]

inline MUDA_GENERIC muda::Offset2D::Offset2D (
    size_t offset_in_height,
    size_t offset_in_width
) 

function cuda_pos

template<typename T>
inline MUDA_GENERIC cudaPos muda::Offset2D::cuda_pos () const

function offset_in_height

inline MUDA_GENERIC size_t muda::Offset2D::offset_in_height () const

function offset_in_width

inline MUDA_GENERIC size_t muda::Offset2D::offset_in_width () const

Public Static Functions Documentation

function Zero

static inline MUDA_GENERIC Offset2D muda::Offset2D::Zero () 


The documentation for this class was generated from the following file src/muda/tools/extent.h