jcuda.driver
Class CUarray_format

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

public class CUarray_format
extends java.lang.Object

Array formats.

Most comments are taken from the CUDA reference manual.

See Also:
CUDA_ARRAY_DESCRIPTOR, CUDA_ARRAY3D_DESCRIPTOR

Field Summary
static int CU_AD_FORMAT_FLOAT
          32-bit floating point
static int CU_AD_FORMAT_HALF
          16-bit floating point
static int CU_AD_FORMAT_SIGNED_INT16
          Signed 16-bit integers
static int CU_AD_FORMAT_SIGNED_INT32
          Signed 32-bit integers
static int CU_AD_FORMAT_SIGNED_INT8
          Signed 8-bit integers
static int CU_AD_FORMAT_UNSIGNED_INT16
          Unsigned 16-bit integers
static int CU_AD_FORMAT_UNSIGNED_INT32
          Unsigned 32-bit integers
static int CU_AD_FORMAT_UNSIGNED_INT8
          Unsigned 8-bit integers
 
Method Summary
static java.lang.String stringFor(int n)
          Returns the String identifying the given CUarray_format
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CU_AD_FORMAT_UNSIGNED_INT8

public static final int CU_AD_FORMAT_UNSIGNED_INT8
Unsigned 8-bit integers

See Also:
Constant Field Values

CU_AD_FORMAT_UNSIGNED_INT16

public static final int CU_AD_FORMAT_UNSIGNED_INT16
Unsigned 16-bit integers

See Also:
Constant Field Values

CU_AD_FORMAT_UNSIGNED_INT32

public static final int CU_AD_FORMAT_UNSIGNED_INT32
Unsigned 32-bit integers

See Also:
Constant Field Values

CU_AD_FORMAT_SIGNED_INT8

public static final int CU_AD_FORMAT_SIGNED_INT8
Signed 8-bit integers

See Also:
Constant Field Values

CU_AD_FORMAT_SIGNED_INT16

public static final int CU_AD_FORMAT_SIGNED_INT16
Signed 16-bit integers

See Also:
Constant Field Values

CU_AD_FORMAT_SIGNED_INT32

public static final int CU_AD_FORMAT_SIGNED_INT32
Signed 32-bit integers

See Also:
Constant Field Values

CU_AD_FORMAT_HALF

public static final int CU_AD_FORMAT_HALF
16-bit floating point

See Also:
Constant Field Values

CU_AD_FORMAT_FLOAT

public static final int CU_AD_FORMAT_FLOAT
32-bit floating point

See Also:
Constant Field Values
Method Detail

stringFor

public static java.lang.String stringFor(int n)
Returns the String identifying the given CUarray_format

Parameters:
n - The CUarray_format
Returns:
The String identifying the given CUarray_format