GPUOcelot
|
#include <CudaRuntime.h>
Public Member Functions | |
Dimension (int x=0, int y=0, int z=0, const cudaChannelFormatDesc &f=cudaCreateChannelDesc(8, 0, 0, 0, cudaChannelFormatKindNone)) | |
Initializing constructor. | |
size_t | pitch () const |
Get the pitch of the array. | |
Dimension (int x=0, int y=0, int z=0, const cudaChannelFormatDesc &f=cudaCreateChannelDesc(8, 0, 0, 0, cudaChannelFormatKindNone)) | |
Initializing constructor. | |
size_t | pitch () const |
Get the pitch of the array. | |
Public Attributes | |
int | x |
X dimension. | |
int | y |
Y dimension. | |
int | z |
Z dimension. | |
cudaChannelFormatDesc | format |
Format. |
cuda::Dimension::Dimension | ( | int | x = 0 , |
int | y = 0 , |
||
int | z = 0 , |
||
const cudaChannelFormatDesc & | f = cudaCreateChannelDesc(8,0,0,0,cudaChannelFormatKindNone) |
||
) |
Initializing constructor.
cuda::Dimension::Dimension | ( | int | x = 0 , |
int | y = 0 , |
||
int | z = 0 , |
||
const cudaChannelFormatDesc & | f = cudaCreateChannelDesc(8, 0, 0, 0, cudaChannelFormatKindNone) |
||
) |
Initializing constructor.
size_t cuda::Dimension::pitch | ( | ) | const |
Get the pitch of the array.
size_t cuda::Dimension::pitch | ( | ) | const |
Get the pitch of the array.
X dimension.
Y dimension.
Z dimension.