Skip to content

opencl: fix a dp4a bug for devices where cl_khr_integer_dot_product is unavailable#25639

Open
wanghqc wants to merge 2 commits into
ggml-org:masterfrom
qualcomm:hq/dp4a-qcom-dot-portability
Open

opencl: fix a dp4a bug for devices where cl_khr_integer_dot_product is unavailable#25639
wanghqc wants to merge 2 commits into
ggml-org:masterfrom
qualcomm:hq/dp4a-qcom-dot-portability

Conversation

@wanghqc

@wanghqc wanghqc commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Overview

This PR is to fix the crash on devices where the OpenCL KHR extension cl_khr_integer_dot_product is unavailable. Building of the DP4A functions will be skipped.

Additional information

Tested with a fleet of Adreno GPUs, including A642, A740, A840, A850, and X1, and X2.

Requirements

None.

@wanghqc wanghqc requested a review from a team as a code owner July 13, 2026 22:56
@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 Jul 13, 2026
@lhez lhez force-pushed the hq/dp4a-qcom-dot-portability branch from ebf96b1 to 9c6df16 Compare July 14, 2026 03:53
@lhez lhez requested a review from max-krasnyansky July 14, 2026 04:45
@lhez

lhez commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

@ggml-org/maintainers @max-krasnyansky Can I please get another approval/reapproval?

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.

3 participants