In rapidobj.hpp:7085 the thread count is hardcoded to
auto num_threads = std::thread::hardware_concurrency();
Just asking if there is any chance to vary this from the ReadFile API or by altering some config/prefs. The usecase of that if user want to force rapidobj to load in 1 thread, e.x. while having parallelism on higher scale. Also, as far as i understand, single/multi threaded approach depends strictly on file size, which is clever, but not very flexible.
In
rapidobj.hpp:7085
the thread count is hardcoded toJust asking if there is any chance to vary this from the
ReadFile
API or by altering some config/prefs. The usecase of that if user want to forcerapidobj
to load in 1 thread, e.x. while having parallelism on higher scale. Also, as far as i understand, single/multi threaded approach depends strictly on file size, which is clever, but not very flexible.