diff options
author | Ray Molenkamp <github@lazydodo.com> | 2018-02-03 20:59:09 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2018-02-03 20:59:09 +0300 |
commit | a5052770b85fefe00511886429e6fc1f5056e1e8 (patch) | |
tree | 5dbe529f230833e71ee2504657ccec32364f4a01 /extern/cuew/include/cuew.h | |
parent | db989e1f118071aae6dcd9f29d10182bd5ebed0b (diff) |
cycles: Add an nvrtc based cubin cli compiler.
nvcc is very picky regarding compiler versions, severely limiting the compiler we can use, this commit adds a nvrtc based compiler that'll allow us to build the cubins even if the host compiler is unsupported. for details see D2913.
Differential Revision: http://developer.blender.org/D2913
Diffstat (limited to 'extern/cuew/include/cuew.h')
-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 0eace96bc3f..f5009d4f2c7 100644 --- a/extern/cuew/include/cuew.h +++ b/extern/cuew/include/cuew.h @@ -1323,6 +1323,7 @@ int cuewInit(void); const char *cuewErrorString(CUresult result); const char *cuewCompilerPath(void); int cuewCompilerVersion(void); +int cuewNvrtcVersion(void); #ifdef __cplusplus } |