Merge branch 'master' into blender2.8
[blender.git] / intern / cycles / device / device_cuda.cpp
index 24ae79e50746dd500b13d897248e2b04586dee16..64295838f0c5599790934f8b034c2902518039fa 100644 (file)
@@ -2467,7 +2467,7 @@ bool device_cuda_init(void)
                return result;
 
        initialized = true;
-       int cuew_result = cuewInit();
+       int cuew_result = cuewInit(CUEW_INIT_CUDA);
        if(cuew_result == CUEW_SUCCESS) {
                VLOG(1) << "CUEW initialization succeeded";
                if(CUDADevice::have_precompiled_kernels()) {