jcuda.driver
Class CUDA_ARRAY3D_DESCRIPTOR

java.lang.Object
  extended by jcuda.driver.CUDA_ARRAY3D_DESCRIPTOR

public class CUDA_ARRAY3D_DESCRIPTOR
extends java.lang.Object

Java port of a CUDA_ARRAY3D_DESCRIPTOR.

Most comments are taken from the CUDA reference manual.

See Also:
JCudaDriver.cuArray3DCreate(jcuda.driver.CUarray, jcuda.driver.CUDA_ARRAY3D_DESCRIPTOR), JCudaDriver.cuArray3DGetDescriptor(jcuda.driver.CUDA_ARRAY3D_DESCRIPTOR, jcuda.driver.CUarray)

Field Summary
 long Depth
          Depth is the depth of the CUDA array (in elements); the CUDA array is one-dimensional if height and depth are 0, two-dimensional if depth is 0, and three-dimensional otherwise;
 int Flags
          The flags for the array creation.
 int Format
          Format specifies the format of the elements; CUarray_format
 long Height
          Height is the height of the CUDA array (in elements); the CUDA array is one-dimensional if height and depth are 0, two-dimensional if depth is 0, and three-dimensional otherwise;
 int NumChannels
          NumChannels specifies the number of packed components per CUDA array element.; it may be 1, 2 or 4
 long Width
          Width is the width of the CUDA array (in elements);
 
Constructor Summary
CUDA_ARRAY3D_DESCRIPTOR()
          Creates a new, uninitialized CUDA_ARRAY3D_DESCRIPTOR
 
Method Summary
 java.lang.String toString()
          Returns a String representation of this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

Width

public long Width
Width is the width of the CUDA array (in elements);


Height

public long Height
Height is the height of the CUDA array (in elements); the CUDA array is one-dimensional if height and depth are 0, two-dimensional if depth is 0, and three-dimensional otherwise;


Depth

public long Depth
Depth is the depth of the CUDA array (in elements); the CUDA array is one-dimensional if height and depth are 0, two-dimensional if depth is 0, and three-dimensional otherwise;


Format

public int Format
Format specifies the format of the elements; CUarray_format

See Also:
CUarray_format

NumChannels

public int NumChannels
NumChannels specifies the number of packed components per CUDA array element.; it may be 1, 2 or 4


Flags

public int Flags
The flags for the array creation. See JCudaDriver.cuArray3DCreate(CUarray, CUDA_ARRAY3D_DESCRIPTOR).

Constructor Detail

CUDA_ARRAY3D_DESCRIPTOR

public CUDA_ARRAY3D_DESCRIPTOR()
Creates a new, uninitialized CUDA_ARRAY3D_DESCRIPTOR

Method Detail

toString

public java.lang.String toString()
Returns a String representation of this object.

Overrides:
toString in class java.lang.Object
Returns:
A String representation of this object.