[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 09:03:33 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 ?
> 
> Yes

Thank you, it's working. 
There is another test case that required a similar fix https://github.com/ROCm/hip-tests/tree/amd-staging/samples/2_Cookbook/17_llvm_ir_to_executable.

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


More information about the cfe-commits mailing list