CUresultの値一覧表です。
1 CUDA_SUCCESS = 0, ///< No errors
2 CUDA_ERROR_INVALID_VALUE = 1, ///< Invalid value
3 CUDA_ERROR_OUT_OF_MEMORY = 2, ///< Out of memory
4 CUDA_ERROR_NOT_INITIALIZED = 3, ///< Driver not initialized
5 CUDA_ERROR_DEINITIALIZED = 4, ///< Driver deinitialized
6
7 CUDA_ERROR_NO_DEVICE = 100, ///< No CUDA-capable device available
8 CUDA_ERROR_INVALID_DEVICE = 101, ///< Invalid device
9 CUDA_ERROR_INVALID_IMAGE = 200, ///< Invalid kernel image
10 CUDA_ERROR_INVALID_CONTEXT = 201, ///< Invalid context
11 CUDA_ERROR_CONTEXT_ALREADY_CURRENT = 202, ///< Context already current
12 CUDA_ERROR_MAP_FAILED = 205, ///< Map failed
13 CUDA_ERROR_UNMAP_FAILED = 206, ///< Unmap failed
14 CUDA_ERROR_ARRAY_IS_MAPPED = 207, ///< Array is mapped
15 CUDA_ERROR_ALREADY_MAPPED = 208, ///< Already mapped
16 CUDA_ERROR_NO_BINARY_FOR_GPU = 209, ///< No binary for GPU
17 CUDA_ERROR_ALREADY_ACQUIRED = 210, ///< Already acquired
18 CUDA_ERROR_NOT_MAPPED = 211, ///< Not mapped
19 CUDA_ERROR_INVALID_SOURCE = 300, ///< Invalid source
20 CUDA_ERROR_FILE_NOT_FOUND = 301, ///< File not found
21
22 CUDA_ERROR_INVALID_HANDLE = 400, ///< Invalid handle
23
24 CUDA_ERROR_NOT_FOUND = 500, ///< Not found
25
26 CUDA_ERROR_NOT_READY = 600, ///< CUDA not ready
27
28 CUDA_ERROR_LAUNCH_FAILED = 700, ///< Launch failed
29 CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES = 701, ///< Launch exceeded resources
30 CUDA_ERROR_LAUNCH_TIMEOUT = 702, ///< Launch exceeded timeout
31 CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING = 703, ///< Launch with incompatible texturing
32
33 CUDA_ERROR_UNKNOWN = 999 ///< Unknown error