[libclc] [libclc] Initial support for cross-compiling OpenCL libraries (PR #174022)

Wenju He via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 4 21:09:24 PST 2026


================
@@ -206,10 +218,12 @@ set( r600--_devices cedar cypress barts cayman )
 set( amdgcn--_devices tahiti )
 set( amdgcn-mesa-mesa3d_devices ${amdgcn--_devices} )
 set( amdgcn--amdhsa_devices none )
+set( amdgcn-amd-amdhsa_devices none )
 set( clspv--_devices none )
 set( clspv64--_devices none )
 set( nvptx--_devices none )
 set( nvptx64--_devices none )
+set( nvptx64-nvidia-cuda_devices none )
----------------
wenju-he wrote:

I don't about history of using nvidiacl in libclc. If nvptx64-nvidia-cuda is the right choice, we can probably rename ptx-nvidiacl folders so that nvptx64-nvidia-cuda will pick up files in those folders and drop nvptx64--nvidiacl target.

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


More information about the cfe-commits mailing list