diff options
author | Patrick Mours <pmours@nvidia.com> | 2021-10-05 17:36:33 +0300 |
---|---|---|
committer | Patrick Mours <pmours@nvidia.com> | 2021-10-05 17:36:33 +0300 |
commit | c11585a82f97e51c01c4f4f309b85bdf7602ca08 (patch) | |
tree | 88f2d55941cd5a9d2224c4182016fb8159a52916 /extern/cuew/include | |
parent | 6e268a749fee16b442bcb3fba6cb6e08850d8389 (diff) |
Add missing "CUDA_ERROR_UNSUPPORTED_PTX_VERSION" to CUEW
This is required for Cycles to report a meaningful error message when it fails to load a PTX module
created with a newer CUDA toolkit version than the driver supports.
Ref T91879
Diffstat (limited to 'extern/cuew/include')
-rw-r--r-- | extern/cuew/include/cuew.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extern/cuew/include/cuew.h b/extern/cuew/include/cuew.h index a2142b8f2ba..5979f48e43d 100644 --- a/extern/cuew/include/cuew.h +++ b/extern/cuew/include/cuew.h @@ -609,6 +609,7 @@ typedef enum cudaError_enum { CUDA_ERROR_INVALID_GRAPHICS_CONTEXT = 219, CUDA_ERROR_NVLINK_UNCORRECTABLE = 220, CUDA_ERROR_JIT_COMPILER_NOT_FOUND = 221, + CUDA_ERROR_UNSUPPORTED_PTX_VERSION = 222, CUDA_ERROR_INVALID_SOURCE = 300, CUDA_ERROR_FILE_NOT_FOUND = 301, CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND = 302, |