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) {
20352035
20362036 backend_ctx->adreno_cl_compiler_version = get_adreno_cl_compiler_version (driver_version);
20372037 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 ) ;
20402040 GGML_LOG_INFO (" ggml_opencl: vector subgroup broadcast support: %s\n " ,
20412041 backend_ctx->has_vector_subgroup_broadcast ? " true" : " false" );
20422042
You can’t perform that action at this time.
0 commit comments