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