27 return (ov <= 0) ? std::max(2 * std::thread::hardware_concurrency(), 1U) : ov;
30 namespace import_export {
32 if (copy_params_threads > 0) {
33 return static_cast<size_t>(copy_params_threads);
35 return std::min(static_cast<size_t>(std::thread::hardware_concurrency()),
unsigned g_cpu_threads_override
size_t num_import_threads(const int32_t copy_params_threads)
size_t g_max_import_threads