printing tunables on uci | bench 8216434

This commit is contained in:
rektdie committed 2025-09-04 22:13:35 +02:00
1 parent 9f28552643
commit cb9051c477
2 files changed
+28 -1

No files matched your search

+22
View File
@@ -66,3 +66,25 @@ inline void PrintTunables() {
#undef X_INT
}
inline void PrintTunablesUCI() {
#define X_DOUBLE(name, default_val, min_val, max_val, step_val) \
std::cout << "option name " #name \
<< " type string default " << name \
<< " min " << min_val \
<< " max " << max_val \
<< std::endl;
#define X_INT(name, default_val, min_val, max_val, step_val) \
std::cout << "option name " #name \
<< " type spin default " << name \
<< " min " << min_val \
<< " max " << max_val \
<< std::endl;
TUNABLE_LIST
#undef X_DOUBLE
#undef X_INT
}