Skip to content

Commit

Permalink
Update CUDA library paths to 12.3
Browse files Browse the repository at this point in the history
  • Loading branch information
HGuillemet committed Nov 3, 2023
1 parent 95496c6 commit fe140fd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions pytorch/src/main/java/org/bytedeco/pytorch/presets/torch.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,15 @@
value = {"linux", "macosx", "windows"},
link = { "c10", "c10_cuda", "torch_cpu", "torch_cuda", "torch" },
preload = {"[email protected]", "iomp5", "omp", "[email protected]", "asmjit", "fbgemm", "[email protected]"},
includepath = {"/usr/local/cuda/include", "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.1/include/"},
includepath = {"/usr/local/cuda/include", "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.3/include/"},
preloadpath = {
"/usr/local/cuda-12.1/lib64/",
"/usr/local/cuda-12.1/extras/CUPTI/lib64/",
"/usr/local/cuda-12.3/lib64/",
"/usr/local/cuda-12.3/extras/CUPTI/lib64/",
"/usr/local/cuda/lib64/",
"/usr/local/cuda/extras/CUPTI/lib64/",
"/usr/lib64/",
"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.1/lib/x64/",
"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.1/extras/CUPTI/lib64/",
"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.3/lib/x64/",
"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.3/extras/CUPTI/lib64/",
"C:/Program Files/NVIDIA Corporation/NvToolsExt/bin/x64/",
},

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
},
link = { "cudart", "cusparse" },
linkpath = {
"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.1/lib/x64/",
"/usr/local/cuda-12.1/lib64/",
"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.3/lib/x64/",
"/usr/local/cuda-12.3/lib64/",
"/usr/local/cuda/lib64/",
"/usr/lib64/"
}
Expand Down

0 comments on commit fe140fd

Please sign in to comment.