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

Yaxun Liu via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 10 08:12: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.
> 
> Yes, It is the same test case that is failing. As you are suggesting these changes I have to make in CMake file only ?

Yes

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


More information about the cfe-commits mailing list