Spaces:
Sleeping
Sleeping
Commit
·
dea29f2
1
Parent(s):
b82d241
SYCL: remove XMX info from print devices (llama/11712)
Browse files
ggml/src/ggml-sycl/ggml-sycl.cpp
CHANGED
|
@@ -103,11 +103,10 @@ void print_device_detail(int id, sycl::device &device, std::string device_type)
|
|
| 103 |
name = std::regex_replace(name, std::regex("\\(TM\\)"), "");
|
| 104 |
|
| 105 |
auto global_mem_size = prop.get_global_mem_size()/1000000;
|
| 106 |
-
|
| 107 |
-
GGML_LOG_INFO("|%2d|%19s|%39s|%7s|%7d|%8d|%5d|%6luM|%21s|%14s|\n", id, device_type.c_str(),
|
| 108 |
name.c_str(), version.c_str(), prop.get_max_compute_units(),
|
| 109 |
prop.get_max_work_group_size(), prop.get_max_sub_group_size(),
|
| 110 |
-
global_mem_size, device.get_info<sycl::info::device::driver_version>().c_str()
|
| 111 |
}
|
| 112 |
|
| 113 |
void ggml_backend_sycl_print_sycl_devices() {
|
|
@@ -118,16 +117,16 @@ void ggml_backend_sycl_print_sycl_devices() {
|
|
| 118 |
|
| 119 |
GGML_LOG_INFO(
|
| 120 |
"| | | | "
|
| 121 |
-
" |Max | |Max |Global |
|
| 122 |
GGML_LOG_INFO(
|
| 123 |
"| | | | "
|
| 124 |
-
" |compute|Max work|sub |mem |
|
| 125 |
GGML_LOG_INFO(
|
| 126 |
"|ID| Device Type| "
|
| 127 |
-
"Name|Version|units |group |group|size | Driver version
|
| 128 |
GGML_LOG_INFO(
|
| 129 |
"|--|-------------------|---------------------------------------|------"
|
| 130 |
-
"
|
| 131 |
|
| 132 |
for (int id = 0; id < device_count; ++id) {
|
| 133 |
sycl::device device = dpct::dev_mgr::instance().get_device(id);
|
|
|
|
| 103 |
name = std::regex_replace(name, std::regex("\\(TM\\)"), "");
|
| 104 |
|
| 105 |
auto global_mem_size = prop.get_global_mem_size()/1000000;
|
| 106 |
+
GGML_LOG_INFO("|%2d|%19s|%39s|%7s|%7d|%8d|%5d|%6luM|%21s|\n", id, device_type.c_str(),
|
|
|
|
| 107 |
name.c_str(), version.c_str(), prop.get_max_compute_units(),
|
| 108 |
prop.get_max_work_group_size(), prop.get_max_sub_group_size(),
|
| 109 |
+
global_mem_size, device.get_info<sycl::info::device::driver_version>().c_str());
|
| 110 |
}
|
| 111 |
|
| 112 |
void ggml_backend_sycl_print_sycl_devices() {
|
|
|
|
| 117 |
|
| 118 |
GGML_LOG_INFO(
|
| 119 |
"| | | | "
|
| 120 |
+
" |Max | |Max |Global | |\n");
|
| 121 |
GGML_LOG_INFO(
|
| 122 |
"| | | | "
|
| 123 |
+
" |compute|Max work|sub |mem | |\n");
|
| 124 |
GGML_LOG_INFO(
|
| 125 |
"|ID| Device Type| "
|
| 126 |
+
"Name|Version|units |group |group|size | Driver version|\n");
|
| 127 |
GGML_LOG_INFO(
|
| 128 |
"|--|-------------------|---------------------------------------|------"
|
| 129 |
+
"-|-------|--------|-----|-------|---------------------|\n");
|
| 130 |
|
| 131 |
for (int id = 0; id < device_count; ++id) {
|
| 132 |
sycl::device device = dpct::dev_mgr::instance().get_device(id);
|