jcuda.driver
Class CUresult

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

public class CUresult
extends java.lang.Object

Error codes.

Most comments are taken from the CUDA reference manual.


Field Summary
static int CUDA_ERROR_ALREADY_ACQUIRED
          Already acquired
static int CUDA_ERROR_ALREADY_MAPPED
          Already mapped
static int CUDA_ERROR_ARRAY_IS_MAPPED
          Array is mapped
static int CUDA_ERROR_CONTEXT_ALREADY_CURRENT
          Context already current
static int CUDA_ERROR_DEINITIALIZED
          Driver deinitialized
static int CUDA_ERROR_ECC_UNCORRECTABLE
          Uncorrectable ECC error detected
static int CUDA_ERROR_FILE_NOT_FOUND
          File not found
static int CUDA_ERROR_INVALID_CONTEXT
          Invalid context
static int CUDA_ERROR_INVALID_DEVICE
          Invalid device
static int CUDA_ERROR_INVALID_HANDLE
          Invalid handle
static int CUDA_ERROR_INVALID_IMAGE
          Invalid kernel image
static int CUDA_ERROR_INVALID_SOURCE
          Invalid source
static int CUDA_ERROR_INVALID_VALUE
          Invalid value
static int CUDA_ERROR_LAUNCH_FAILED
          Launch failed
static int CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING
          Launch with incompatible texturing
static int CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES
          Launch exceeded resources
static int CUDA_ERROR_LAUNCH_TIMEOUT
          Launch exceeded timeout
static int CUDA_ERROR_MAP_FAILED
          Map failed
static int CUDA_ERROR_NO_BINARY_FOR_GPU
          No binary for GPU
static int CUDA_ERROR_NO_DEVICE
          No CUDA-capable device available
static int CUDA_ERROR_NOT_FOUND
          Not found
static int CUDA_ERROR_NOT_INITIALIZED
          Driver not initialized
static int CUDA_ERROR_NOT_MAPPED
          Not mapped
static int CUDA_ERROR_NOT_MAPPED_AS_ARRAY
          Mapped resource not available for access as an array
static int CUDA_ERROR_NOT_MAPPED_AS_POINTER
          Mapped resource not available for access as a pointer
static int CUDA_ERROR_NOT_READY
          CUDA not ready
static int CUDA_ERROR_OUT_OF_MEMORY
          Out of memory
static int CUDA_ERROR_POINTER_IS_64BIT
          Attempted to retrieve 64-bit pointer via 32-bit API function
static int CUDA_ERROR_SHARED_OBJECT_INIT_FAILED
          Shared object initialization failed
static int CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND
          Link to a shared object failed to resolve
static int CUDA_ERROR_SIZE_IS_64BIT
          Attempted to retrieve 64-bit size via 32-bit API function
static int CUDA_ERROR_UNKNOWN
          Unknown error
static int CUDA_ERROR_UNMAP_FAILED
          Unmap failed
static int CUDA_ERROR_UNSUPPORTED_LIMIT
          CUlimit not supported by device
static int CUDA_SUCCESS
          No errors
 
Method Summary
static java.lang.String stringFor(int result)
          Returns the String identifying the given CUresult
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CUDA_SUCCESS

public static final int CUDA_SUCCESS
No errors

See Also:
Constant Field Values

CUDA_ERROR_INVALID_VALUE

public static final int CUDA_ERROR_INVALID_VALUE
Invalid value

See Also:
Constant Field Values

CUDA_ERROR_OUT_OF_MEMORY

public static final int CUDA_ERROR_OUT_OF_MEMORY
Out of memory

See Also:
Constant Field Values

CUDA_ERROR_NOT_INITIALIZED

public static final int CUDA_ERROR_NOT_INITIALIZED
Driver not initialized

See Also:
Constant Field Values

CUDA_ERROR_DEINITIALIZED

public static final int CUDA_ERROR_DEINITIALIZED
Driver deinitialized

See Also:
Constant Field Values

CUDA_ERROR_NO_DEVICE

public static final int CUDA_ERROR_NO_DEVICE
No CUDA-capable device available

See Also:
Constant Field Values

CUDA_ERROR_INVALID_DEVICE

public static final int CUDA_ERROR_INVALID_DEVICE
Invalid device

See Also:
Constant Field Values

CUDA_ERROR_INVALID_IMAGE

public static final int CUDA_ERROR_INVALID_IMAGE
Invalid kernel image

See Also:
Constant Field Values

CUDA_ERROR_INVALID_CONTEXT

public static final int CUDA_ERROR_INVALID_CONTEXT
Invalid context

See Also:
Constant Field Values

CUDA_ERROR_CONTEXT_ALREADY_CURRENT

public static final int CUDA_ERROR_CONTEXT_ALREADY_CURRENT
Context already current

See Also:
Constant Field Values

CUDA_ERROR_MAP_FAILED

public static final int CUDA_ERROR_MAP_FAILED
Map failed

See Also:
Constant Field Values

CUDA_ERROR_UNMAP_FAILED

public static final int CUDA_ERROR_UNMAP_FAILED
Unmap failed

See Also:
Constant Field Values

CUDA_ERROR_ARRAY_IS_MAPPED

public static final int CUDA_ERROR_ARRAY_IS_MAPPED
Array is mapped

See Also:
Constant Field Values

CUDA_ERROR_ALREADY_MAPPED

public static final int CUDA_ERROR_ALREADY_MAPPED
Already mapped

See Also:
Constant Field Values

CUDA_ERROR_NO_BINARY_FOR_GPU

public static final int CUDA_ERROR_NO_BINARY_FOR_GPU
No binary for GPU

See Also:
Constant Field Values

CUDA_ERROR_ALREADY_ACQUIRED

public static final int CUDA_ERROR_ALREADY_ACQUIRED
Already acquired

See Also:
Constant Field Values

CUDA_ERROR_NOT_MAPPED

public static final int CUDA_ERROR_NOT_MAPPED
Not mapped

See Also:
Constant Field Values

CUDA_ERROR_NOT_MAPPED_AS_ARRAY

public static final int CUDA_ERROR_NOT_MAPPED_AS_ARRAY
Mapped resource not available for access as an array

See Also:
Constant Field Values

CUDA_ERROR_NOT_MAPPED_AS_POINTER

public static final int CUDA_ERROR_NOT_MAPPED_AS_POINTER
Mapped resource not available for access as a pointer

See Also:
Constant Field Values

CUDA_ERROR_ECC_UNCORRECTABLE

public static final int CUDA_ERROR_ECC_UNCORRECTABLE
Uncorrectable ECC error detected

See Also:
Constant Field Values

CUDA_ERROR_UNSUPPORTED_LIMIT

public static final int CUDA_ERROR_UNSUPPORTED_LIMIT
CUlimit not supported by device

See Also:
Constant Field Values

CUDA_ERROR_INVALID_SOURCE

public static final int CUDA_ERROR_INVALID_SOURCE
Invalid source

See Also:
Constant Field Values

CUDA_ERROR_FILE_NOT_FOUND

public static final int CUDA_ERROR_FILE_NOT_FOUND
File not found

See Also:
Constant Field Values

CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND

public static final int CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND
Link to a shared object failed to resolve

See Also:
Constant Field Values

CUDA_ERROR_SHARED_OBJECT_INIT_FAILED

public static final int CUDA_ERROR_SHARED_OBJECT_INIT_FAILED
Shared object initialization failed

See Also:
Constant Field Values

CUDA_ERROR_INVALID_HANDLE

public static final int CUDA_ERROR_INVALID_HANDLE
Invalid handle

See Also:
Constant Field Values

CUDA_ERROR_NOT_FOUND

public static final int CUDA_ERROR_NOT_FOUND
Not found

See Also:
Constant Field Values

CUDA_ERROR_NOT_READY

public static final int CUDA_ERROR_NOT_READY
CUDA not ready

See Also:
Constant Field Values

CUDA_ERROR_LAUNCH_FAILED

public static final int CUDA_ERROR_LAUNCH_FAILED
Launch failed

See Also:
Constant Field Values

CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES

public static final int CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES
Launch exceeded resources

See Also:
Constant Field Values

CUDA_ERROR_LAUNCH_TIMEOUT

public static final int CUDA_ERROR_LAUNCH_TIMEOUT
Launch exceeded timeout

See Also:
Constant Field Values

CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING

public static final int CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING
Launch with incompatible texturing

See Also:
Constant Field Values

CUDA_ERROR_POINTER_IS_64BIT

public static final int CUDA_ERROR_POINTER_IS_64BIT
Attempted to retrieve 64-bit pointer via 32-bit API function

See Also:
Constant Field Values

CUDA_ERROR_SIZE_IS_64BIT

public static final int CUDA_ERROR_SIZE_IS_64BIT
Attempted to retrieve 64-bit size via 32-bit API function

See Also:
Constant Field Values

CUDA_ERROR_UNKNOWN

public static final int CUDA_ERROR_UNKNOWN
Unknown error

See Also:
Constant Field Values
Method Detail

stringFor

public static java.lang.String stringFor(int result)
Returns the String identifying the given CUresult

Parameters:
result - The CUresult value
Returns:
The String identifying the given CUresult