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

Artem Belevich via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 4 11:08:16 PST 2024


Artem-B wrote:

I'm saying is that whatever refers to the fatbin handle has to have the same idea about the name of that handle as the object file that provides that handle. For that both have to be compiled with the same `cuid`. Normally, it's clang driver that does that all under the hood. If the build does host and device compilation separately, it's up to the build owner to get those parts built with the same cuid.

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


More information about the cfe-commits mailing list