[clang] [libclc] [AMDGPU][libclc] Enable cl_khr_subgroup_non_uniform_arithmetic and use in libclc (PR #200747)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 3 07:16:31 PDT 2026


================
@@ -324,6 +324,7 @@ class LLVM_LIBRARY_VISIBILITY AMDGPUTargetInfo final : public TargetInfo {
       Opts["cl_khr_mipmap_image"] = true;
       Opts["cl_khr_mipmap_image_writes"] = true;
       Opts["cl_khr_subgroups"] = true;
+      Opts["cl_khr_subgroup_non_uniform_arithmetic"] = true;
----------------
arsenm wrote:

I don't think device-libs implements these functions. This would need to check if the environment is LLVM 

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


More information about the cfe-commits mailing list