[PATCH] D141051: [CUDA][HIP] Add support for `--offload-arch=native` to CUDA and refactor

Joseph Huber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 9 10:40:56 PST 2023


jhuber6 added inline comments.


================
Comment at: clang/test/Driver/amdgpu-hip-system-arch.c:24
+
+// case when amdgpu_arch does not return anything with successful execution
+// RUN:   %clang -### --target=x86_64-unknown-linux-gnu -nogpulib --offload-arch=native --amdgpu-arch-tool=%t/amdgpu_arch_gfx906 -x hip %s 2>&1 \
----------------
yaxunl wrote:
> comment incorrect?
Yes, thanks for catching that. I'll fix it.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141051/new/

https://reviews.llvm.org/D141051



More information about the cfe-commits mailing list