GPUOcelot
Public Member Functions | Public Attributes

cuda::Dimension Class Reference

#include <CudaRuntime.h>

Collaboration diagram for cuda::Dimension:
Collaboration graph
[legend]

List of all members.

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.

Constructor & Destructor Documentation

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.


Member Function Documentation

size_t cuda::Dimension::pitch ( ) const

Get the pitch of the array.

size_t cuda::Dimension::pitch ( ) const

Get the pitch of the array.


Member Data Documentation

Format.

X dimension.

Y dimension.

Z dimension.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines