You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I want to run my SYCL code on a GPU node from my university. But due to a non standard CUDA installation the PTX version seem's to not be correctly detected. It is set to ptx75 instead of ptx72 (beacause we have CUDA 11.2 which support ptx up to .version 7.2) , giving me the following output :
/local/tdavidcl/sycl_workspace/dpcpp/bin/clang++ -fsycl -std=c++17 -pedantic-errors -fsycl-targets=nvptx64-nvidia-cuda -Xsycl-target-backend=nvptx64-nvidia-cuda main.cpp.o -o main
clang-14: warning: CUDA version is newer than the latest supported version 11.5 [-Wunknown-cuda-version]
ptxas /tmp/main-sm_50-227eb5.s, line 5; fatal : Unsupported .version 7.5; current version is '7.2'
ptxas fatal : Ptx assembly aborted due to errors
llvm-foreach:
clang-14: error: ptxas command failed with exit code 255 (use -v to see invocation)
clang version 15.0.0 (https://github.com/intel/llvm 8e30ff36465387ee7cdd7c98f0a00c6aea6de505)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /local/tdavidcl/sycl_workspace/dpcpp/bin
clang-14: note: diagnostic msg: Error generating preprocessed source(s) - no preprocessable inputs.
indead looking at the begining of /tmp/main-sm_50-227eb5.s the version is set to 7.5 instead of 7.2 :
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I want to run my SYCL code on a GPU node from my university. But due to a non standard CUDA installation the PTX version seem's to not be correctly detected. It is set to
ptx75
instead ofptx72
(beacause we have CUDA 11.2 which support ptx up to.version 7.2
) , giving me the following output :indead looking at the begining of
/tmp/main-sm_50-227eb5.s
the version is set to 7.5 instead of 7.2 :output of
sycl-ls
:output of
clang++ --version
:since
--cuda-gpu-arch=sm72
doesn't set the ptx version how can I change it ?Beta Was this translation helpful? Give feedback.
All reactions