|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjcuda.driver.CUresult
public class CUresult
Error codes.
Most comments are taken from the CUDA reference manual.
| Field Summary | |
|---|---|
static int |
CUDA_ERROR_ALREADY_ACQUIRED
This indicates that a resource has already been acquired. |
static int |
CUDA_ERROR_ALREADY_MAPPED
This indicates that the resource is already mapped. |
static int |
CUDA_ERROR_ARRAY_IS_MAPPED
This indicates that the specified array is currently mapped and thus cannot be destroyed. |
static int |
CUDA_ERROR_CONTEXT_ALREADY_CURRENT
This indicated that the context being supplied as a parameter to the API call was already the active context. |
static int |
CUDA_ERROR_DEINITIALIZED
This indicates that the CUDA driver is in the process of shutting down. |
static int |
CUDA_ERROR_ECC_UNCORRECTABLE
This indicates that an uncorrectable ECC error was detected during execution. |
static int |
CUDA_ERROR_FILE_NOT_FOUND
This indicates that the file specified was not found. |
static int |
CUDA_ERROR_INVALID_CONTEXT
This most frequently indicates that there is no context bound to the current thread. |
static int |
CUDA_ERROR_INVALID_DEVICE
This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device. |
static int |
CUDA_ERROR_INVALID_HANDLE
This indicates that a resource handle passed to the API call was not valid. |
static int |
CUDA_ERROR_INVALID_IMAGE
This indicates that the device kernel image is invalid. |
static int |
CUDA_ERROR_INVALID_SOURCE
This indicates that the device kernel source is invalid. |
static int |
CUDA_ERROR_INVALID_VALUE
This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values. |
static int |
CUDA_ERROR_LAUNCH_FAILED
An exception occurred on the device while executing a kernel. |
static int |
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING
This error indicates a kernel launch that uses an incompatible texturing mode. |
static int |
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES
This indicates that a launch did not occur because it did not have appropriate resources. |
static int |
CUDA_ERROR_LAUNCH_TIMEOUT
This indicates that the device kernel took too long to execute. |
static int |
CUDA_ERROR_MAP_FAILED
This indicates that a map or register operation has failed. |
static int |
CUDA_ERROR_NO_BINARY_FOR_GPU
This indicates that there is no kernel image available that is suitable for the device. |
static int |
CUDA_ERROR_NO_DEVICE
This indicates that no CUDA-capable devices were detected by the installed CUDA driver. |
static int |
CUDA_ERROR_NOT_FOUND
This indicates that a named symbol was not found. |
static int |
CUDA_ERROR_NOT_INITIALIZED
This indicates that the CUDA driver has not been initialized with ::cuInit() or that initialization has failed. |
static int |
CUDA_ERROR_NOT_MAPPED
This indicates that a resource is not mapped. |
static int |
CUDA_ERROR_NOT_MAPPED_AS_ARRAY
This indicates that a mapped resource is not available for access as an array. |
static int |
CUDA_ERROR_NOT_MAPPED_AS_POINTER
This indicates that a mapped resource is not available for access as a pointer. |
static int |
CUDA_ERROR_NOT_READY
This indicates that asynchronous operations issued previously have not completed yet. |
static int |
CUDA_ERROR_OPERATING_SYSTEM
This indicates that an OS call failed. |
static int |
CUDA_ERROR_OUT_OF_MEMORY
The API call failed because it was unable to allocate enough memory to perform the requested operation. |
static int |
CUDA_ERROR_SHARED_OBJECT_INIT_FAILED
This indicates that initialization of a shared object failed. |
static int |
CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND
This indicates that a link to a shared object failed to resolve. |
static int |
CUDA_ERROR_UNKNOWN
This indicates that an unknown internal error has occurred. |
static int |
CUDA_ERROR_UNMAP_FAILED
This indicates that an unmap or unregister operation has failed. |
static int |
CUDA_ERROR_UNSUPPORTED_LIMIT
This indicates that the ::CUlimit passed to the API call is not supported by the active device. |
static int |
CUDA_SUCCESS
The API call returned with 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 |
|---|
public static final int CUDA_SUCCESS
public static final int CUDA_ERROR_INVALID_VALUE
public static final int CUDA_ERROR_OUT_OF_MEMORY
public static final int CUDA_ERROR_NOT_INITIALIZED
public static final int CUDA_ERROR_DEINITIALIZED
public static final int CUDA_ERROR_NO_DEVICE
public static final int CUDA_ERROR_INVALID_DEVICE
public static final int CUDA_ERROR_INVALID_IMAGE
public static final int CUDA_ERROR_INVALID_CONTEXT
public static final int CUDA_ERROR_CONTEXT_ALREADY_CURRENT
public static final int CUDA_ERROR_MAP_FAILED
public static final int CUDA_ERROR_UNMAP_FAILED
public static final int CUDA_ERROR_ARRAY_IS_MAPPED
public static final int CUDA_ERROR_ALREADY_MAPPED
public static final int CUDA_ERROR_NO_BINARY_FOR_GPU
public static final int CUDA_ERROR_ALREADY_ACQUIRED
public static final int CUDA_ERROR_NOT_MAPPED
public static final int CUDA_ERROR_NOT_MAPPED_AS_ARRAY
public static final int CUDA_ERROR_NOT_MAPPED_AS_POINTER
public static final int CUDA_ERROR_ECC_UNCORRECTABLE
public static final int CUDA_ERROR_UNSUPPORTED_LIMIT
public static final int CUDA_ERROR_INVALID_SOURCE
public static final int CUDA_ERROR_FILE_NOT_FOUND
public static final int CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND
public static final int CUDA_ERROR_SHARED_OBJECT_INIT_FAILED
public static final int CUDA_ERROR_OPERATING_SYSTEM
public static final int CUDA_ERROR_INVALID_HANDLE
public static final int CUDA_ERROR_NOT_FOUND
public static final int CUDA_ERROR_NOT_READY
public static final int CUDA_ERROR_LAUNCH_FAILED
public static final int CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES
public static final int CUDA_ERROR_LAUNCH_TIMEOUT
public static final int CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING
public static final int CUDA_ERROR_UNKNOWN
| Method Detail |
|---|
public static java.lang.String stringFor(int result)
result - The CUresult value
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||