Skip to content

Commit 5f8873a

Browse files
committed
fix compilation error
1 parent a8c7ba6 commit 5f8873a

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
@@ -146,7 +146,6 @@ void output_device_info(std::ostream &output)
146146
}
147147
#endif
148148
}
149-
return;
150149
#else
151150
int cpu_sockets = get_device_num("cpu");
152151
std::string cpu_name = get_device_name("cpu");
@@ -162,7 +161,8 @@ void output_device_info(std::ostream &output)
162161
output << " " << "GPU" << " / "
163162
<< gpu_name << " (x" << gpu_count << ")" << std::endl;
164163
}
165-
}
164+
}
165+
#endif
166166
#endif
167167
}
168168

0 commit comments

Comments
 (0)