diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2023-03-27 10:19:16 -0500 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2023-03-27 18:08:15 -0500 |
commit | bed7005eb4d4850b6f9d93707213ced5c0c19de0 (patch) | |
tree | 7945d9f7202b5116483392e94b699208a442c5dc /llvm/unittests/ExecutionEngine/Orc/ExecutionSessionWrapperFunctionCallsTest.cpp | |
parent | 4a38d33268959309dd97d9ef423327607bda4104 (diff) | |
download | llvm-bed7005eb4d4850b6f9d93707213ced5c0c19de0.zip llvm-bed7005eb4d4850b6f9d93707213ced5c0c19de0.tar.gz llvm-bed7005eb4d4850b6f9d93707213ced5c0c19de0.tar.bz2 |
[NVPTX] Add __CUDA_ARCH__ macro to standalone NVPTX compilations
We can now target the NVPTX architecture directly via
`--target=nvptx64-nvidia-cuda`. This currently does not define the
`__CUDA_ARCH__` macro with is used to allow code to target different
codes based on support. This patch simply adds this support.
Reviewed By: tra, jdoerfert
Differential Revision: https://reviews.llvm.org/D146975
Diffstat (limited to 'llvm/unittests/ExecutionEngine/Orc/ExecutionSessionWrapperFunctionCallsTest.cpp')
0 files changed, 0 insertions, 0 deletions