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

Pankaj Dwivedi via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 10 01:09:18 PDT 2024


PankajDwivedi-25 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.

Yes, It is the same test case that is failing. As you are suggesting these changes I have to make in CMake file only ?

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


More information about the cfe-commits mailing list