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 @@ -2046,8 +2046,8 @@ static ggml_backend_opencl_context * ggml_cl2_init(ggml_backend_dev_t dev) {
2046
2046
2047
2047
backend_ctx->adreno_cl_compiler_version = get_adreno_cl_compiler_version (driver_version);
2048
2048
backend_ctx->has_vector_subgroup_broadcast =
2049
- backend_ctx->adreno_cl_compiler_version .major >= 47 ||
2050
- backend_ctx->adreno_cl_compiler_version .major == 17 ;
2049
+ ( backend_ctx->adreno_cl_compiler_version .type == E031 && backend_ctx-> adreno_cl_compiler_version . major >= 47 ) ||
2050
+ ( backend_ctx->adreno_cl_compiler_version .type == DX && backend_ctx-> adreno_cl_compiler_version . major >= 17 ) ;
2051
2051
GGML_LOG_INFO (" ggml_opencl: vector subgroup broadcast support: %s\n " ,
2052
2052
backend_ctx->has_vector_subgroup_broadcast ? " true" : " false" );
2053
2053
You can’t perform that action at this time.
0 commit comments