Skip to content
This repository was archived by the owner on Jun 2, 2022. It is now read-only.

Commit efba772

Browse files
committed
main: improved outpur format of list proc
1 parent 62dd502 commit efba772

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/main.cpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -154,42 +154,42 @@ static void dump_procs()
154154
{
155155
case W2XCONV_PROC_OPENCL_AMD_GPU:
156156
{
157-
type = "OpenCL-AMD-GPU";
157+
type = "AMD-GPU";
158158
break;
159159
}
160160
case W2XCONV_PROC_OPENCL_NVIDIA_GPU:
161161
{
162-
type = "OpenCL-NVIDIA-GPU";
162+
type = "NVIDIA-GPU";
163163
break;
164164
}
165165
case W2XCONV_PROC_OPENCL_INTEL_GPU:
166166
{
167-
type = "OpenCL-INTEL-GPU";
167+
type = "INTEL-GPU";
168168
break;
169169
}
170170
case W2XCONV_PROC_OPENCL_UNKNOWN_GPU:
171171
{
172-
type = "OpenCL-UNKOWN-GPU";
172+
type = "UNKOWN-GPU";
173173
break;
174174
}
175175
case W2XCONV_PROC_OPENCL_AMD_CPU:
176176
{
177-
type = "OpenCL-AMD-CPU";
177+
type = "AMD-CPU";
178178
break;
179179
}
180180
case W2XCONV_PROC_OPENCL_INTEL_CPU:
181181
{
182-
type = "OpenCL-INTEL-CPU";
182+
type = "INTEL-CPU";
183183
break;
184184
}
185185
case W2XCONV_PROC_OPENCL_UNKNOWN_CPU:
186186
{
187-
type = "OpenCL-UNKOWN-CPU";
187+
type = "UNKOWN-CPU";
188188
break;
189189
}
190190
case W2XCONV_PROC_OPENCL_DEVICE_UNKNOWN:
191191
{
192-
type = "OpenCL-UNKOWN";
192+
type = "UNKOWN";
193193
break;
194194
}
195195
default:
@@ -207,7 +207,7 @@ static void dump_procs()
207207
}
208208
}
209209

210-
printf("%4d: %-45s(%-10s): num_core=%d\n", i, p->dev_name, type, p->num_core);
210+
printf("%4d: %-47s(%-10s): num_core=%d\n", i, p->dev_name, type, p->num_core);
211211
}
212212
}
213213

0 commit comments

Comments
 (0)