summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2021-01-22 16:18:04 -0500
committerGitHub <noreply@github.com>2021-01-22 13:18:04 -0800
commit00fad59d49d31538270b811903aeb449c97ca152 (patch)
treeb781772e6e3511c8bf7be5479e42a80bf4c50ea4 /source
parent6601220e20be19aa26cbb90b9930d7ab6e1f2fb3 (diff)
Add nvrtc shared library/dll names (#1673)
* #include an absolute path didn't work - because paths were taken to always be relative. * Add other NVRTC versions. Co-authored-by: Tim Foley <tfoleyNV@users.noreply.github.com>
Diffstat (limited to 'source')
-rw-r--r--source/core/slang-nvrtc-compiler.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/source/core/slang-nvrtc-compiler.cpp b/source/core/slang-nvrtc-compiler.cpp
index a5720ddc8..1bdb4dfa7 100644
--- a/source/core/slang-nvrtc-compiler.cpp
+++ b/source/core/slang-nvrtc-compiler.cpp
@@ -504,7 +504,6 @@ SlangResult NVRTCDownstreamCompiler::compile(const CompileOptions& options, RefP
//
// It would probably be good to support 32- and 64-bit here, and also
// to deal with any variation in the shared library name across platforms
- // (
//
static const char* kNVRTCLibraryNames[]
{
@@ -512,8 +511,17 @@ SlangResult NVRTCDownstreamCompiler::compile(const CompileOptions& options, RefP
// a library simply named `nvrtc` (well, `libnvrtc`) which
// is expected to match whatever the user has installed.
//
+
+ // A list of versions is here
+ // https://developer.nvidia.com/cuda-toolkit-archive
+
"nvrtc",
+ "nvrtc64_112_0",
+
+ "nvrtc64_111_1",
+ "nvrtc64_111_0",
+
"nvrtc64_110_0",
"nvrtc64_102_0",
"nvrtc64_101_0",