QTrk
Public Member Functions | Public Attributes | List of all members
Image4DMemory< T >::KernelParams Struct Reference

#include <cudaImageList.h>

Public Member Functions

CUBOTH int2 GetImagePos (int z, int l)
 

Public Attributes

T * d_data
 
size_t pitch
 
int cols
 
int depth
 
int imgw
 
int imgh
 

Detailed Description

template<typename T>
struct Image4DMemory< T >::KernelParams

Definition at line 407 of file cudaImageList.h.

Member Function Documentation

§ GetImagePos()

template<typename T >
CUBOTH int2 Image4DMemory< T >::KernelParams::GetImagePos ( int  z,
int  l 
)
inline

Definition at line 414 of file cudaImageList.h.

414  {
415  int img = z+depth*l;
416  return make_int2( (img % cols) * imgw, (img / cols) * imgh);
417  }

Member Data Documentation

§ cols

template<typename T >
int Image4DMemory< T >::KernelParams::cols

Definition at line 410 of file cudaImageList.h.

§ d_data

template<typename T >
T* Image4DMemory< T >::KernelParams::d_data

Definition at line 408 of file cudaImageList.h.

§ depth

template<typename T >
int Image4DMemory< T >::KernelParams::depth

Definition at line 411 of file cudaImageList.h.

§ imgh

template<typename T >
int Image4DMemory< T >::KernelParams::imgh

Definition at line 412 of file cudaImageList.h.

§ imgw

template<typename T >
int Image4DMemory< T >::KernelParams::imgw

Definition at line 412 of file cudaImageList.h.

§ pitch

template<typename T >
size_t Image4DMemory< T >::KernelParams::pitch

Definition at line 409 of file cudaImageList.h.


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