Skip to content

[libclc] Drop CL_3_0_EXTENSIONS override; fix NVPTX image features#21119

Merged
uditagarwal97 merged 2 commits intointel:syclfrom
wenju-he:libclc-remove-CL_3_0_EXTENSIONS
Apr 11, 2026
Merged

[libclc] Drop CL_3_0_EXTENSIONS override; fix NVPTX image features#21119
uditagarwal97 merged 2 commits intointel:syclfrom
wenju-he:libclc-remove-CL_3_0_EXTENSIONS

Conversation

@wenju-he
Copy link
Copy Markdown
Contributor

NFC for libclc and libspirv.

Remove the unconditional OpenCL 3.0 extension override from libclc. They should be enabled per-target, not globally.

When enabling cl_khr_3d_image_writes, NVPTX should also enable dependent __opencl_c_3d_image_writes and __opencl_c_images. cl_khr_3d_image_writes and __opencl_c_3d_image_writes can't have different values. Fix locally since upstream PR llvm/llvm-project#143331 is pending.

NFC for libclc and libspirv.

Remove the unconditional OpenCL 3.0 extension override from libclc.
They should be enabled per-target, not globally.

When enabling cl_khr_3d_image_writes, NVPTX should also enable dependent
__opencl_c_3d_image_writes and __opencl_c_images. cl_khr_3d_image_writes
and __opencl_c_3d_image_writes can't have different values. Fix locally
since upstream PR llvm/llvm-project#143331 is pending.
Copy link
Copy Markdown
Contributor

@Fznamznon Fznamznon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If that is NFC, should we ping the upstream PR better? Community allows pinging once a week.

@wenju-he wenju-he requested a review from Maetveis as a code owner April 10, 2026 23:36
@wenju-he
Copy link
Copy Markdown
Contributor Author

@intel/llvm-gatekeepers please merge, thanks

@uditagarwal97 uditagarwal97 merged commit 776cad9 into intel:sycl Apr 11, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants