Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Lit to use 'ptxas' tool to validate generated PTX on the NVPTX builders. #390

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions buildbot/osuosl/master/config/builders.py
Original file line number Diff line number Diff line change
Expand Up @@ -3100,6 +3100,8 @@
# TMP/TEMP within the build dir (to utilize a ramdisk).
'TMP' : util.Interpolate("%(prop:builddir)s/build"),
'TEMP' : util.Interpolate("%(prop:builddir)s/build"),
# Allow Lit to use 'ptxas' tool to validate generated PTX.
'LLVM_PTXAS_EXECUTABLE' : "/usr/local/cuda/bin/ptxas",
})},

{'name' : "llvm-nvptx64-nvidia-ubuntu",
Expand All @@ -3125,6 +3127,8 @@
# TMP/TEMP within the build dir (to utilize a ramdisk).
'TMP' : util.Interpolate("%(prop:builddir)s/build"),
'TEMP' : util.Interpolate("%(prop:builddir)s/build"),
# Allow Lit to use 'ptxas' tool to validate generated PTX.
'LLVM_PTXAS_EXECUTABLE' : "/usr/local/cuda/bin/ptxas",
})},

{'name' : "llvm-nvptx-nvidia-win",
Expand All @@ -3148,6 +3152,8 @@
# TMP/TEMP within the build dir (to utilize a ramdisk).
'TMP' : util.Interpolate("%(prop:builddir)s/build"),
'TEMP' : util.Interpolate("%(prop:builddir)s/build"),
# Allow Lit to use 'ptxas' tool to validate generated PTX.
'LLVM_PTXAS_EXECUTABLE' : "c:/buildbot/latest-cuda/bin/ptxas.exe",
})},

{'name' : "llvm-nvptx64-nvidia-win",
Expand All @@ -3171,6 +3177,8 @@
# TMP/TEMP within the build dir (to utilize a ramdisk).
'TMP' : util.Interpolate("%(prop:builddir)s/build"),
'TEMP' : util.Interpolate("%(prop:builddir)s/build"),
# Allow Lit to use 'ptxas' tool to validate generated PTX.
'LLVM_PTXAS_EXECUTABLE' : "c:/buildbot/latest-cuda/bin/ptxas.exe",
})},

# flang FortranRuntime CUDA Offload builders.
Expand Down