diff options
author | Patrick Mours <pmours@nvidia.com> | 2020-02-17 15:35:31 +0300 |
---|---|---|
committer | Patrick Mours <pmours@nvidia.com> | 2020-02-17 16:27:44 +0300 |
commit | 2278aa0da9d6a046ff014fab4b0cc6156394b0d1 (patch) | |
tree | 7c9e494c59875fb5f0004bfc40c9fa29521b365b /intern/cycles/device/device_cuda.cpp | |
parent | 12b6ddaf953056e36f1e86d7d79537cb8b3dbe4e (diff) |
Cycles: Add support for adaptive kernel compilation to OptiX device
This modifies the common CUDA implementation for adaptive kernel compilation slightly to support both CUBIN and PTX output (the latter which is then used in the OptiX device). It also fixes adaptive kernel compilation on Windows.
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D6851
Diffstat (limited to 'intern/cycles/device/device_cuda.cpp')
-rw-r--r-- | intern/cycles/device/device_cuda.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/intern/cycles/device/device_cuda.cpp b/intern/cycles/device/device_cuda.cpp index 5f991563738..6957adb478f 100644 --- a/intern/cycles/device/device_cuda.cpp +++ b/intern/cycles/device/device_cuda.cpp @@ -43,7 +43,6 @@ bool device_cuda_init() VLOG(1) << "Found precompiled kernels"; result = true; } -# ifndef _WIN32 else if (cuewCompilerPath() != NULL) { VLOG(1) << "Found CUDA compiler " << cuewCompilerPath(); result = true; @@ -52,7 +51,6 @@ bool device_cuda_init() VLOG(1) << "Neither precompiled kernels nor CUDA compiler was found," << " unable to use CUDA"; } -# endif } else { VLOG(1) << "CUEW initialization failed: " |