From 3ec4df42d9c1d4de896c886ebc65fad2e6e29fa4 Mon Sep 17 00:00:00 2001 From: lhez Date: Wed, 30 Sep 2026 22:33:23 -0700 Subject: [PATCH] opencl: mark vec subgroup bcast as supproted for Adreno E17 compiler (#29698) --- ggml/src/ggml-opencl/ggml-opencl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ggml/src/ggml-opencl/ggml-opencl.cpp b/ggml/src/ggml-opencl/ggml-opencl.cpp index 74bddd7036..acad7a67fb 100644 --- a/ggml/src/ggml-opencl/ggml-opencl.cpp +++ b/ggml/src/ggml-opencl/ggml-opencl.cpp @@ -6700,7 +6700,8 @@ static ggml_backend_opencl_context * ggml_cl_init(ggml_backend_dev_t dev) { backend_ctx->adreno_cl_compiler_version = get_adreno_cl_compiler_version(driver_version.data()); backend_ctx->has_vector_subgroup_broadcast = (backend_ctx->adreno_cl_compiler_version.type == E031 && backend_ctx->adreno_cl_compiler_version.major >= 47) || - (backend_ctx->adreno_cl_compiler_version.type == DX && backend_ctx->adreno_cl_compiler_version.major >= 17); + (backend_ctx->adreno_cl_compiler_version.type == DX && backend_ctx->adreno_cl_compiler_version.major >= 17) || + (backend_ctx->adreno_cl_compiler_version.type == E17); // The q6_K flat mul_mat miscompile is a defect of the older E031 compilers, not a // property of any GPU generation: it reproduces on E031.38 (Adreno 642L) and E031.41