cycles: Add an nvrtc based cubin cli compiler.
authorRay Molenkamp <github@lazydodo.com>
Sat, 3 Feb 2018 17:59:09 +0000 (10:59 -0700)
committerRay Molenkamp <github@lazydodo.com>
Sat, 3 Feb 2018 17:59:09 +0000 (10:59 -0700)
commita5052770b85fefe00511886429e6fc1f5056e1e8
tree5dbe529f230833e71ee2504657ccec32364f4a01
parentdb989e1f118071aae6dcd9f29d10182bd5ebed0b
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
CMakeLists.txt
extern/cuew/include/cuew.h
extern/cuew/src/cuew.c
intern/cycles/CMakeLists.txt
intern/cycles/app/CMakeLists.txt
intern/cycles/app/cycles_cubin_cc.cpp [new file with mode: 0644]
intern/cycles/device/device_cuda.cpp
intern/cycles/kernel/CMakeLists.txt
intern/cycles/kernel/kernel_compat_cuda.h