Skip to content

Commit efb5773

Browse files
committed
ggml-sycl: hide matrix engine info for now from print sycl devices
1 parent 0b602f0 commit efb5773

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

ggml/src/ggml-sycl/ggml-sycl.cpp

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,10 @@ void print_device_detail(int id, sycl::device &device, std::string device_type)
9898
name = std::regex_replace(name, std::regex("\\(TM\\)"), "");
9999

100100
auto global_mem_size = prop.get_global_mem_size()/1000000;
101-
std::string xmx = gpu_has_xmx(device) ? "yes" : "no";
102-
GGML_LOG_INFO("|%2d|%19s|%39s|%7s|%7d|%8d|%5d|%6luM|%21s|%14s|\n", id, device_type.c_str(),
101+
GGML_LOG_INFO("|%2d|%19s|%39s|%7s|%7d|%8d|%5d|%6luM|%21s|\n", id, device_type.c_str(),
103102
name.c_str(), version.c_str(), prop.get_max_compute_units(),
104103
prop.get_max_work_group_size(), prop.get_max_sub_group_size(),
105-
global_mem_size, device.get_info<sycl::info::device::driver_version>().c_str(), xmx.c_str());
104+
global_mem_size, device.get_info<sycl::info::device::driver_version>().c_str());
106105
}
107106

108107
void ggml_backend_sycl_print_sycl_devices() {
@@ -113,16 +112,16 @@ void ggml_backend_sycl_print_sycl_devices() {
113112

114113
GGML_LOG_INFO(
115114
"| | | | "
116-
" |Max | |Max |Global | | XMX |\n");
115+
" |Max | |Max |Global | |\n");
117116
GGML_LOG_INFO(
118117
"| | | | "
119-
" |compute|Max work|sub |mem | | or |\n");
118+
" |compute|Max work|sub |mem | |\n");
120119
GGML_LOG_INFO(
121120
"|ID| Device Type| "
122-
"Name|Version|units |group |group|size | Driver version| Tensor Cores |\n");
121+
"Name|Version|units |group |group|size | Driver version|\n");
123122
GGML_LOG_INFO(
124123
"|--|-------------------|---------------------------------------|------"
125-
"-|-------|--------|-----|-------|---------------------|--------------|\n");
124+
"-|-------|--------|-----|-------|---------------------|\n");
126125

127126
for (int id = 0; id < device_count; ++id) {
128127
sycl::device device = dpct::dev_mgr::instance().get_device(id);

0 commit comments

Comments
 (0)