jcuda.jcurand
Class curandStatus

java.lang.Object
  extended by jcuda.jcurand.curandStatus

public class curandStatus
extends java.lang.Object

CURAND function call status types


Field Summary
static int CURAND_STATUS_ALLOCATION_FAILED
          Memory allocation failed
static int CURAND_STATUS_ARCH_MISMATCH
          Architecture mismatch, GPU does not support requested feature
static int CURAND_STATUS_DOUBLE_PRECISION_REQUIRED
          GPU does not have double precision required by MRG32k3a
static int CURAND_STATUS_INITIALIZATION_FAILED
          Initialization of CUDA failed
static int CURAND_STATUS_INTERNAL_ERROR
          Internal library error
static int CURAND_STATUS_LAUNCH_FAILURE
          Kernel launch failure
static int CURAND_STATUS_LENGTH_NOT_MULTIPLE
          Length requested is not a multple of dimension
static int CURAND_STATUS_NOT_INITIALIZED
          Generator not initialized
static int CURAND_STATUS_OUT_OF_RANGE
          Argument out of range
static int CURAND_STATUS_PREEXISTING_FAILURE
          Preexisting failure on library entry
static int CURAND_STATUS_SUCCESS
          No errors
static int CURAND_STATUS_TYPE_ERROR
          Generator is wrong type
static int CURAND_STATUS_VERSION_MISMATCH
          Header file and linked library version do not match
 
Method Summary
static java.lang.String stringFor(int n)
          Returns a string representation of the given constant
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CURAND_STATUS_SUCCESS

public static final int CURAND_STATUS_SUCCESS
No errors

See Also:
Constant Field Values

CURAND_STATUS_VERSION_MISMATCH

public static final int CURAND_STATUS_VERSION_MISMATCH
Header file and linked library version do not match

See Also:
Constant Field Values

CURAND_STATUS_NOT_INITIALIZED

public static final int CURAND_STATUS_NOT_INITIALIZED
Generator not initialized

See Also:
Constant Field Values

CURAND_STATUS_ALLOCATION_FAILED

public static final int CURAND_STATUS_ALLOCATION_FAILED
Memory allocation failed

See Also:
Constant Field Values

CURAND_STATUS_TYPE_ERROR

public static final int CURAND_STATUS_TYPE_ERROR
Generator is wrong type

See Also:
Constant Field Values

CURAND_STATUS_OUT_OF_RANGE

public static final int CURAND_STATUS_OUT_OF_RANGE
Argument out of range

See Also:
Constant Field Values

CURAND_STATUS_LENGTH_NOT_MULTIPLE

public static final int CURAND_STATUS_LENGTH_NOT_MULTIPLE
Length requested is not a multple of dimension

See Also:
Constant Field Values

CURAND_STATUS_DOUBLE_PRECISION_REQUIRED

public static final int CURAND_STATUS_DOUBLE_PRECISION_REQUIRED
GPU does not have double precision required by MRG32k3a

See Also:
Constant Field Values

CURAND_STATUS_LAUNCH_FAILURE

public static final int CURAND_STATUS_LAUNCH_FAILURE
Kernel launch failure

See Also:
Constant Field Values

CURAND_STATUS_PREEXISTING_FAILURE

public static final int CURAND_STATUS_PREEXISTING_FAILURE
Preexisting failure on library entry

See Also:
Constant Field Values

CURAND_STATUS_INITIALIZATION_FAILED

public static final int CURAND_STATUS_INITIALIZATION_FAILED
Initialization of CUDA failed

See Also:
Constant Field Values

CURAND_STATUS_ARCH_MISMATCH

public static final int CURAND_STATUS_ARCH_MISMATCH
Architecture mismatch, GPU does not support requested feature

See Also:
Constant Field Values

CURAND_STATUS_INTERNAL_ERROR

public static final int CURAND_STATUS_INTERNAL_ERROR
Internal library error

See Also:
Constant Field Values
Method Detail

stringFor

public static java.lang.String stringFor(int n)
Returns a string representation of the given constant

Returns:
A string representation of the given constant