[libclc] [libclc] Canonicalize 'clspv' to the 'spirv-unknown-vulkan' triple (PR #196351)

Romaric Jodin via cfe-commits cfe-commits at lists.llvm.org
Mon May 11 06:15:12 PDT 2026


rjodinchr wrote:

> Can you please tell me how to build now? The title of this PR says `spirv-unknown-vulkan` but the README says `spirv64-unknown-vulkan`. And now I read about `spirv32-unknown-vulkan` in this PR as well. What are the possible targets then?

What do you want to build? what's your usecase?

If it is about clspv, then clspv's CMake should take care of it.

If it is for something else, you need to know if you need a 32-bit or 64-bit variant, or something using the logical memory layout. That will tell you which one you want.
https://github.com/llvm/llvm-project/tree/b4e8f5911221dcac405cfcd4ac2cffadc0c4ddda/llvm/include/llvm/TargetParser/Triple.h#L106-L108

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


More information about the cfe-commits mailing list