Skip to content

Add support for OpenCL 3.1#466

Merged
bashbaug merged 8 commits into
intel:mainfrom
bashbaug:opencl-3.1
Jun 1, 2026
Merged

Add support for OpenCL 3.1#466
bashbaug merged 8 commits into
intel:mainfrom
bashbaug:opencl-3.1

Conversation

@bashbaug
Copy link
Copy Markdown
Contributor

@bashbaug bashbaug commented May 6, 2026

Description of Changes

Now that OpenCL 3.1 has been announced, update the OpenCL intercept layer with support for the new OpenCL 3.1 functionality. Specifically:

  • Updates the headers with the new OpenCL 3.1 enums and API (clGetKernelSuggestedLocalWorkSize).
  • Switch the enum map to use the new OpenCL 3.1 enums instead of the prior extension enums.
  • Add support for tracing clGetKernelSuggestedLocalWorkSize.
  • Updates DevicePerformanceTimeSuggestedLWSTracking to use the core OpenCL 3.1 API in addition to the prior extension APIs.

Testing Done

Basic testing to ensure no regressions seen, especially for DevicePerformanceTimeSuggestedLWSTracking.

@bashbaug bashbaug merged commit 26b79fc into intel:main Jun 1, 2026
8 checks passed
@bashbaug bashbaug deleted the opencl-3.1 branch June 1, 2026 17:18
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.

1 participant