jcuda.driver
Class CUDA_ARRAY_DESCRIPTOR

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

public class CUDA_ARRAY_DESCRIPTOR
extends java.lang.Object

Java port of a CUDA_ARRAY_DESCRIPTOR.

Most comments are taken from the CUDA reference manual.

See Also:
JCudaDriver.cuArrayCreate(jcuda.driver.CUarray, jcuda.driver.CUDA_ARRAY_DESCRIPTOR), JCudaDriver.cuArrayGetDescriptor(jcuda.driver.CUDA_ARRAY_DESCRIPTOR, jcuda.driver.CUarray)

Field Summary
 int Format
          Format specifies the format of the elements;
 long Height
          Height is the height of the CUDA array (in elements); the CUDA array is one-dimensional if height is 0, two-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_ARRAY_DESCRIPTOR()
          Creates a new, uninitialized CUDA_ARRAY_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 is 0, two-dimensional, otherwise;


Format

public int Format
Format specifies the format of the elements;

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

Constructor Detail

CUDA_ARRAY_DESCRIPTOR

public CUDA_ARRAY_DESCRIPTOR()
Creates a new, uninitialized CUDA_ARRAY_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.