Skip to content

Commit ce3943e

Browse files
committed
modify the output format
1 parent 45078e5 commit ce3943e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/source_base/module_device/output_device.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,12 @@ void output_device_info(std::ostream &output)
136136

137137
// Output all collected information
138138
output << " RUNNING WITH DEVICE : " << "CPU" << " / "
139-
<< cpu_name << "(x" << total_cpus << ")" << std::endl;
139+
<< cpu_name << " (x" << total_cpus << ")" << std::endl;
140140
#if defined(__CUDA) || defined(__ROCM)
141141
if(PARAM.inp.device == "gpu" && total_gpus > 0)
142142
{
143143
output << " " << "GPU" << " / "
144-
<< gpu_name << "(x" << total_gpus << ")" << std::endl;
144+
<< gpu_name << " (x" << total_gpus << ")" << std::endl;
145145
}
146146
#endif
147147
}

0 commit comments

Comments
 (0)