Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limiting thread count support #26

Open
P1nkL1on opened this issue Jun 4, 2024 · 0 comments
Open

Limiting thread count support #26

P1nkL1on opened this issue Jun 4, 2024 · 0 comments

Comments

@P1nkL1on
Copy link

P1nkL1on commented Jun 4, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant