Skip to content

Commit

Permalink
[CUDA] Added omitted runtime libraries for CUDA 10.2 (#9778)
Browse files Browse the repository at this point in the history
Notably, libnvrtc.
  • Loading branch information
stemann authored Nov 14, 2024
1 parent b7bb4a9 commit f04be74
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions C/CUDA/CUDA_Runtime/build_10.2.jl
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ if [[ ${target} == *-linux-gnu ]]; then
# CUDA Profiling Tools Interface (CUPTI) Library
mv extras/CUPTI/lib64/libcupti.so* ${libdir}
mv extras/CUPTI/lib64/libnvperf_host.so* ${libdir}
mv extras/CUPTI/lib64/libnvperf_target.so* ${libdir}
mv lib64/libnvrtc.so* ${libdir}
mv lib64/libnvrtc-builtins.so* ${libdir}
# Additional binaries
mv bin/ptxas ${bindir}
mv bin/nvdisasm ${bindir}
Expand Down Expand Up @@ -81,6 +87,12 @@ elif [[ ${target} == x86_64-w64-mingw32 ]]; then
# CUDA Profiling Tools Interface (CUPTI) Library
mv extras/CUPTI/lib64/cupti64_*.dll ${bindir}
mv extras/CUPTI/lib64/nvperf_host.dll* ${libdir}
mv extras/CUPTI/lib64/nvperf_target.dll* ${libdir}
mv bin/nvrtc64_* ${bindir}
mv bin/nvrtc-builtins64_* ${bindir}
# Additional binaries
mv bin/ptxas.exe ${bindir}
mv bin/nvdisasm.exe ${bindir}
Expand All @@ -100,6 +112,10 @@ function get_products(platform)
LibraryProduct(["libcusolver", "cusolver64_10"], :libcusolver),
LibraryProduct(["libcurand", "curand64_10"], :libcurand),
LibraryProduct(["libcupti", "cupti64_102"], :libcupti),
LibraryProduct(["libnvperf_host", "nvperf_host"], :libnvperf_host),
LibraryProduct(["libnvperf_target", "nvperf_target"], :libnvperf_target),
LibraryProduct(["libnvrtc", "nvrtc64_102_0"], :libnvrtc),
LibraryProduct(["libnvrtc-builtins", "nvrtc-builtins64_102"], :libnvrtc_builtins),
FileProduct(["lib/libcudadevrt.a", "lib/cudadevrt.lib"], :libcudadevrt),
FileProduct("share/libdevice/libdevice.10.bc", :libdevice),
ExecutableProduct("ptxas", :ptxas),
Expand Down
2 changes: 1 addition & 1 deletion C/CUDA/CUDA_Runtime/build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ include(joinpath(YGGDRASIL_DIR, "fancy_toys.jl"))
include(joinpath(YGGDRASIL_DIR, "platforms", "cuda.jl"))

name = "CUDA_Runtime"
version = v"0.15.3"
version = v"0.15.4"

augment_platform_block = """
$(read(joinpath(@__DIR__, "platform_augmentation.jl"), String))
Expand Down

0 comments on commit f04be74

Please sign in to comment.