File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2035,8 +2035,8 @@ static ggml_backend_opencl_context * ggml_cl2_init(ggml_backend_dev_t dev) {
2035
2035
2036
2036
backend_ctx->adreno_cl_compiler_version = get_adreno_cl_compiler_version (driver_version);
2037
2037
backend_ctx->has_vector_subgroup_broadcast =
2038
- backend_ctx->adreno_cl_compiler_version .major >= 47 ||
2039
- backend_ctx->adreno_cl_compiler_version .major == 17 ;
2038
+ ( backend_ctx->adreno_cl_compiler_version .type == E031 && backend_ctx-> adreno_cl_compiler_version . major >= 47 ) ||
2039
+ ( backend_ctx->adreno_cl_compiler_version .type == DX && backend_ctx-> adreno_cl_compiler_version . major >= 17 ) ;
2040
2040
GGML_LOG_INFO (" ggml_opencl: vector subgroup broadcast support: %s\n " ,
2041
2041
backend_ctx->has_vector_subgroup_broadcast ? " true" : " false" );
2042
2042
You can’t perform that action at this time.
0 commit comments