[clang] [CUDA/HIP] fix propagate -cuid to a host-only compilation. (PR #111650)

Yaxun Liu via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 9 10:17:43 PDT 2024


yxsamliu wrote:

This does not seem to be the right fix. I tends to think the test https://github.com/ROCm/hip-tests/tree/amd-staging/samples/2_Cookbook/16_assembly_to_executable needs fix. Since it does not expect host-only compilation to use CUID, it should add `-fuse-cuid=none` to the host-only compilation.

https://github.com/llvm/llvm-project/pull/111650


More information about the cfe-commits mailing list