Skip to content

Commit

Permalink
Move the nvcc and nvcrt compilations to the "gpu" environment (#4314)
Browse files Browse the repository at this point in the history
* Delegate to godbolt.org/gpu
  • Loading branch information
mattgodbolt committed Nov 20, 2022
1 parent 8be6ca1 commit 03d6975
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 323 deletions.
18 changes: 4 additions & 14 deletions etc/config/cuda.amazon.properties
@@ -1,4 +1,7 @@
compilers=&nvcc:&cuclang:&hipclang:&nvrtc
compilers=godbolt.org@443/gpu:&cuclang:&hipclang
# Disabled: nvcc nvrtc
# The disabled groups are actually used in the cuda.gpu.properties (along with libs etc). One day these might exist on
# both servers, so I want to keep them in the same place.
defaultCompiler=nvcc117
supportsBinary=true
supportsExecute=false
Expand Down Expand Up @@ -162,16 +165,13 @@ compiler.nvcc117.exe=/opt/compiler-explorer/cuda/11.7.0/bin/nvcc
compiler.nvcc117.options=--compiler-bindir /opt/compiler-explorer/gcc-10.2.0/bin
compiler.nvcc117.demangler=/opt/compiler-explorer/gcc-10.2.0/bin/c++filt
compiler.nvcc117.objdumper=/opt/compiler-explorer/gcc-10.2.0/bin/objdump


group.cuclang.compilers=cuclang700:cuclang800:cuclang900:cuclang1000:cuclang1001:cuclang1100:cltrunk
group.cuclang.isSemVer=true
group.cuclang.baseName=clang
group.cuclang.compilerType=clang-cuda
# The most recent nvdisasm works for older CUDA versions
group.cuclang.nvdisasm=/opt/compiler-explorer/cuda/11.3.1/bin/nvdisasm
group.cuclang.objdumper=/opt/compiler-explorer/cuda/11.3.1/bin/nvdisasm

# Clang is versioned independently of CUDA. We pick the most recent CUDA version
# supported by clang and the most recent GPU variant supported by that
# combination of clang and CUDA versions. The default of sm_20 and sm_35 is too
Expand Down Expand Up @@ -206,7 +206,6 @@ compiler.cltrunk.name=trunk sm_86 CUDA-11.3
compiler.cltrunk.exe=/opt/compiler-explorer/clang-trunk/bin/clang++
compiler.cltrunk.demangler=/opt/compiler-explorer/gcc-snapshot/bin/c++filt
compiler.cltrunk.options=--gcc-toolchain=/opt/compiler-explorer/gcc-snapshot --cuda-path=/opt/compiler-explorer/cuda/11.3.1 --cuda-gpu-arch=sm_86 --cuda-device-only -Wno-unknown-cuda-version

group.hipclang.compilers=hiptrunk:hipclang-rocm-40502:hipclang-rocm-50002:hipclang-rocm-50103:hipclang-rocm-50203:hipclang-rocm-50302
group.hipclang.isSemVer=true
group.hipclang.baseName=clang
Expand Down Expand Up @@ -302,9 +301,7 @@ compiler.nvrtc114u1.semver=11.4.1
compiler.nvrtc114u1.exe=/opt/compiler-explorer/cuda/11.4.1/bin/nvrtc_cli
compiler.nvrtc115.semver=11.5.0
compiler.nvrtc115.exe=/opt/compiler-explorer/cuda/11.5.0/bin/nvrtc_cli

libs=cueigen:thrustcub:cucub:cudacxx:nvtx:nsimd:cuco:hip-amd

libs.cueigen.name=Eigen
libs.cueigen.versions=trunk:340:339:337:334
libs.cueigen.url=http://eigen.tuxfamily.org/index.php?title=Main_Page
Expand All @@ -318,7 +315,6 @@ libs.cueigen.versions.337.version=3.3.7
libs.cueigen.versions.337.path=/opt/compiler-explorer/libs/eigen/v3.3.7
libs.cueigen.versions.334.version=3.3.4
libs.cueigen.versions.334.path=/opt/compiler-explorer/libs/eigen/v3.3.4

libs.thrustcub.name=Thrust+CUB
libs.thrustcub.description=CUDA collective and parallel algorithms
libs.thrustcub.versions=trunk:109090:109100:109101:110000:111000:112000:112100:113000:113100:114000:115000:116000:117000
Expand Down Expand Up @@ -351,20 +347,17 @@ libs.thrustcub.versions.117000.version=1.17.0
libs.thrustcub.versions.117000.path=/opt/compiler-explorer/libs/thrustcub/1.17.0:/opt/compiler-explorer/libs/thrustcub/1.17.0/dependencies/cub
libs.thrustcub.versions.trunk.version=trunk
libs.thrustcub.versions.trunk.path=/opt/compiler-explorer/libs/thrustcub/trunk:/opt/compiler-explorer/libs/thrustcub/trunk/dependencies/cub

libs.cucub.name=CUB (Legacy)
libs.cucub.description=Newer versions are available under Thrust+CUB.
libs.cucub.versions=180
libs.cucub.url=http://nvlabs.github.io/cub/index.html
libs.cucub.versions.180.version=1.8.0
libs.cucub.versions.180.path=/opt/compiler-explorer/libs/cub/1.8.0

libs.cudacxx.name=libcudacxx
libs.cudacxx.versions=trunk
libs.cudacxx.url=https://github.com/nvidia/libcudacxx
libs.cudacxx.versions.trunk.version=trunk
libs.cudacxx.versions.trunk.path=/opt/compiler-explorer/libs/libcudacxx/trunk/include

libs.nvtx.name=NVIDIA Tools Extension
libs.nvtx.description=APIs for code annotation
libs.nvtx.versions=dev:301
Expand All @@ -373,22 +366,19 @@ libs.nvtx.versions.dev.version=dev
libs.nvtx.versions.dev.path=/opt/compiler-explorer/libs/nvtx/dev/cpp/include:/opt/compiler-explorer/libs/nvtx/dev/c/include
libs.nvtx.versions.301.version=3.0.1
libs.nvtx.versions.301.path=/opt/compiler-explorer/libs/nvtx/v3.0.1/cpp:/opt/compiler-explorer/libs/nvtx/v3.0.1/c/include

libs.cuco.name=cuCollections
libs.cuco.description=Concurrent GPU Accelerated Data Structures
libs.cuco.versions=dev
libs.cuco.url=https://github.com/NVIDIA/cuCollections
libs.cuco.versions.dev.version=dev
libs.cuco.versions.dev.path=/opt/compiler-explorer/libs/cucollections/dev/include

libs.nsimd.name=NSIMD
libs.nsimd.versions=22:301
libs.nsimd.url=https://github.com/agenium-scale/nsimd/
libs.nsimd.versions.22.version=2.2
libs.nsimd.versions.22.path=/opt/compiler-explorer/libs/nsimd/v2.2/cuda/include
libs.nsimd.versions.301.version=3.0.1
libs.nsimd.versions.301.path=/opt/compiler-explorer/libs/nsimd/v3.0.1/cuda/include

libs.hip-amd.name=HIP (AMD Platform)
libs.hip-amd.versions=50203:50103:50002:40502
libs.hip-amd.url=https://github.com/ROCm-Developer-Tools/hipamd
Expand Down

0 comments on commit 03d6975

Please sign in to comment.