Spaces:
Sleeping
Sleeping
Nicolò Scipione
commited on
Commit
·
1f15602
1
Parent(s):
7d6d9e8
Fix conditional enabling following arch checks for ggml-sycl (llama/14504)
Browse files
ggml/src/ggml-sycl/ggml-sycl.cpp
CHANGED
|
@@ -83,7 +83,7 @@ static ggml_sycl_device_info ggml_sycl_init() {
|
|
| 83 |
|
| 84 |
info.devices[i].cc =
|
| 85 |
100 * prop.get_major_version() + 10 * prop.get_minor_version();
|
| 86 |
-
info.devices[i].opt_feature.reorder =
|
| 87 |
info.max_work_group_sizes[i] = prop.get_max_work_group_size();
|
| 88 |
}
|
| 89 |
|
|
|
|
| 83 |
|
| 84 |
info.devices[i].cc =
|
| 85 |
100 * prop.get_major_version() + 10 * prop.get_minor_version();
|
| 86 |
+
info.devices[i].opt_feature.reorder = device.ext_oneapi_architecture_is(syclex::arch_category::intel_gpu);
|
| 87 |
info.max_work_group_sizes[i] = prop.get_max_work_group_size();
|
| 88 |
}
|
| 89 |
|