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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Wouldn't just if(!HostTarget) be sufficient here?