Skip to content

Commit fd92117

Browse files
qnixsynapseorca-zhang
authored andcommitted
SYCL: remove XMX info from print devices (ggml-org#11712)
1 parent 3625143 commit fd92117

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
@@ -103,11 +103,10 @@ void print_device_detail(int id, sycl::device &device, std::string device_type)
103103
name = std::regex_replace(name, std::regex("\\(TM\\)"), "");
104104

105105
auto global_mem_size = prop.get_global_mem_size()/1000000;
106-
std::string xmx = gpu_has_xmx(device) ? "yes" : "no";
107-
GGML_LOG_INFO("|%2d|%19s|%39s|%7s|%7d|%8d|%5d|%6luM|%21s|%14s|\n", id, device_type.c_str(),
106+
GGML_LOG_INFO("|%2d|%19s|%39s|%7s|%7d|%8d|%5d|%6luM|%21s|\n", id, device_type.c_str(),
108107
name.c_str(), version.c_str(), prop.get_max_compute_units(),
109108
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(), xmx.c_str());
109+
global_mem_size, device.get_info<sycl::info::device::driver_version>().c_str());
111110
}
112111

113112
void ggml_backend_sycl_print_sycl_devices() {
@@ -118,16 +117,16 @@ void ggml_backend_sycl_print_sycl_devices() {
118117

119118
GGML_LOG_INFO(
120119
"| | | | "
121-
" |Max | |Max |Global | | XMX |\n");
120+
" |Max | |Max |Global | |\n");
122121
GGML_LOG_INFO(
123122
"| | | | "
124-
" |compute|Max work|sub |mem | | or |\n");
123+
" |compute|Max work|sub |mem | |\n");
125124
GGML_LOG_INFO(
126125
"|ID| Device Type| "
127-
"Name|Version|units |group |group|size | Driver version| Tensor Cores |\n");
126+
"Name|Version|units |group |group|size | Driver version|\n");
128127
GGML_LOG_INFO(
129128
"|--|-------------------|---------------------------------------|------"
130-
"-|-------|--------|-----|-------|---------------------|--------------|\n");
129+
"-|-------|--------|-----|-------|---------------------|\n");
131130

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

0 commit comments

Comments
 (0)