Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Mours <pmours@nvidia.com>2021-11-02 14:30:28 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2021-11-02 14:30:28 +0300
commit31dfdb6379cd42b919ba529eb9cfd3f29eb8de64 (patch)
tree1061a86a9f1cb1cc0d66b2bb039cd33d09bd7ab6 /extern/cuew/include/cuew.h
parentac42e58e3104cdb6cc7c0b57869320616bd29c4b (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. Fix crash when kernel loading failed (T91879) Ref T91879
Diffstat (limited to 'extern/cuew/include/cuew.h')
-rw-r--r--extern/cuew/include/cuew.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/extern/cuew/include/cuew.h b/extern/cuew/include/cuew.h
index 0fa0f1291fa..85522744ad1 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,