LLM inference in C/C++
C++ ggml
opencl: mark vec subgroup bcast as supproted for Adreno E17 compiler (#29698)
lhez3ec4df42d9c1
diff --git a/ggml/src/ggml-opencl/ggml-opencl.cpp b/ggml/src/ggml-opencl/ggml-opencl.cppindex 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