diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-02-06 16:54:18 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-02-07 13:53:01 +0300 |
commit | 1dafe759edc3bc9a89f99a894d1c1fb3a14f44a9 (patch) | |
tree | d4862fceb7c38873de5ce581d9cdbfdc0cb59423 /intern/opensubdiv | |
parent | 38d35603f224e92c7f4dfe1802b0ebfceebec46a (diff) |
Update CUEW to latest version
This brings separate initialization for libcuda and libnvrtc, which
fixes Cycles nvrtc compilation not working on build machines without
CUDA hardware available.
Differential Revision: https://developer.blender.org/D3045
Diffstat (limited to 'intern/opensubdiv')
-rw-r--r-- | intern/opensubdiv/opensubdiv_device_context_cuda.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/opensubdiv/opensubdiv_device_context_cuda.cc b/intern/opensubdiv/opensubdiv_device_context_cuda.cc index 81c52f5d6cf..46b66a6b35e 100644 --- a/intern/opensubdiv/opensubdiv_device_context_cuda.cc +++ b/intern/opensubdiv/opensubdiv_device_context_cuda.cc @@ -187,7 +187,7 @@ bool CudaDeviceContext::HAS_CUDA_VERSION_4_0() cudaInitialized = true; # ifdef OPENSUBDIV_HAS_CUEW - cudaLoadSuccess = cuewInit() == CUEW_SUCCESS; + cudaLoadSuccess = cuewInit(CUEW_INIT_CUDA) == CUEW_SUCCESS; if (!cudaLoadSuccess) { fprintf(stderr, "Loading CUDA failed.\n"); } |