forked from bartvdbraak/blender
36 lines
1.8 KiB
Python
36 lines
1.8 KiB
Python
|
CUDA_ERRORS={
|
||
|
'CUDA_SUCCESS': "No errors",
|
||
|
'CUDA_ERROR_INVALID_VALUE': "Invalid value",
|
||
|
'CUDA_ERROR_OUT_OF_MEMORY': "Out of memory",
|
||
|
'CUDA_ERROR_NOT_INITIALIZED': "Driver not initialized",
|
||
|
'CUDA_ERROR_DEINITIALIZED': "Driver deinitialized",
|
||
|
'CUDA_ERROR_NO_DEVICE': "No CUDA-capable device available",
|
||
|
'CUDA_ERROR_INVALID_DEVICE': "Invalid device",
|
||
|
'CUDA_ERROR_INVALID_IMAGE': "Invalid kernel image",
|
||
|
'CUDA_ERROR_INVALID_CONTEXT': "Invalid context",
|
||
|
'CUDA_ERROR_CONTEXT_ALREADY_CURRENT': "Context already current",
|
||
|
'CUDA_ERROR_MAP_FAILED': "Map failed",
|
||
|
'CUDA_ERROR_UNMAP_FAILED': "Unmap failed",
|
||
|
'CUDA_ERROR_ARRAY_IS_MAPPED': "Array is mapped",
|
||
|
'CUDA_ERROR_ALREADY_MAPPED': "Already mapped",
|
||
|
'CUDA_ERROR_NO_BINARY_FOR_GPU': "No binary for GPU",
|
||
|
'CUDA_ERROR_ALREADY_ACQUIRED': "Already acquired",
|
||
|
'CUDA_ERROR_NOT_MAPPED': "Not mapped",
|
||
|
'CUDA_ERROR_NOT_MAPPED_AS_ARRAY': "Mapped resource not available for access as an array",
|
||
|
'CUDA_ERROR_NOT_MAPPED_AS_POINTER': "Mapped resource not available for access as a pointer",
|
||
|
'CUDA_ERROR_ECC_UNCORRECTABLE': "Uncorrectable ECC error detected",
|
||
|
'CUDA_ERROR_UNSUPPORTED_LIMIT': "CUlimit not supported by device",
|
||
|
'CUDA_ERROR_INVALID_SOURCE': "Invalid source",
|
||
|
'CUDA_ERROR_FILE_NOT_FOUND': "File not found",
|
||
|
'CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND': "Link to a shared object failed to resolve",
|
||
|
'CUDA_ERROR_SHARED_OBJECT_INIT_FAILED': "Shared object initialization failed",
|
||
|
'CUDA_ERROR_INVALID_HANDLE': "Invalid handle",
|
||
|
'CUDA_ERROR_NOT_FOUND': "Not found",
|
||
|
'CUDA_ERROR_NOT_READY': "CUDA not ready",
|
||
|
'CUDA_ERROR_LAUNCH_FAILED': "Launch failed",
|
||
|
'CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES': "Launch exceeded resources",
|
||
|
'CUDA_ERROR_LAUNCH_TIMEOUT': "Launch exceeded timeout",
|
||
|
'CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING': "Launch with incompatible texturing",
|
||
|
'CUDA_ERROR_UNKNOWN': "Unknown error",
|
||
|
}
|