Cycles: add initial CUDA 10.0 support, but only recommend use for Turing cards.

There may still be rendering errors when used for older graphics cards.
This commit is contained in:
Brecht Van Lommel
2018-12-04 12:34:59 +01:00
parent 3f31ec8398
commit b14ec18601
7 changed files with 33 additions and 9 deletions

View File

@@ -619,7 +619,11 @@ static int cuewNvrtcInit(void) {
/* Library paths. */
#ifdef _WIN32
/* Expected in c:/windows/system or similar, no path needed. */
const char *nvrtc_paths[] = {"nvrtc64_80.dll", "nvrtc64_90.dll", "nvrtc64_91.dll", NULL};
const char *nvrtc_paths[] = {"nvrtc64_80.dll",
"nvrtc64_90.dll",
"nvrtc64_91.dll",
"nvrtc64_10_0.dll",
NULL};
#elif defined(__APPLE__)
/* Default installation path. */
const char *nvrtc_paths[] = {"/usr/local/cuda/lib/libnvrtc.dylib", NULL};