Skip to content

Conversation

baonudesifeizhai
Copy link

  • Add #ifdef CL_DEVICE_NON_UNIFORM_WORK_GROUP_SUPPORT check
  • Fixes compilation error when targeting OpenCL 2.0
  • CL_DEVICE_NON_UNIFORM_WORK_GROUP_SUPPORT was introduced in OpenCL 3.0
  • Maintains backward compatibility with OpenCL 3.0+ devices
  • Resolves issue Compile bug: Can't compile with opencl 2.0 #15368

Make sure to read the contributing guidelines before submitting a PR

- Add #ifdef CL_DEVICE_NON_UNIFORM_WORK_GROUP_SUPPORT check
- Fixes compilation error when targeting OpenCL 2.0
- CL_DEVICE_NON_UNIFORM_WORK_GROUP_SUPPORT was introduced in OpenCL 3.0
- Maintains backward compatibility with OpenCL 3.0+ devices
- Resolves issue ggml-org#15368
@github-actions github-actions bot added ggml changes relating to the ggml tensor library for machine learning OpenCL Issues specific to the OpenCL backend labels Aug 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ggml changes relating to the ggml tensor library for machine learning OpenCL Issues specific to the OpenCL backend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant