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

Support --threads option in husk in the render delegate #1077

Closed
jhodgson opened this issue Mar 15, 2022 · 2 comments · Fixed by #1736
Closed

Support --threads option in husk in the render delegate #1077

jhodgson opened this issue Mar 15, 2022 · 2 comments · Fixed by #1736
Labels
enhancement New feature or request render delegate Related to the Arnold Render Delegate

Comments

@jhodgson
Copy link
Contributor

When rendering via husk we'd like to pass the number of render threads through to the render delegate, ideally via hydra or potentially using an environment variable.

@jhodgson jhodgson added enhancement New feature or request render delegate Related to the Arnold Render Delegate labels Mar 15, 2022
@jhodgson
Copy link
Contributor Author

husk and uses TBB for threading. The -j/--threads option sets the number of cores in the TBB scheduler. We should be able to pick this up using tbb::this_task_arena::max_concurrency().

Since we know when we are running inside husk, we could override options.threads in this case instead of using the value from the render settings.

@autodesk-oss-arnold-bot
Copy link

Issue synced internally to ARNOLD-13299

sebastienblor added a commit to sebastienblor/arnold-usd that referenced this issue Oct 26, 2023
sebastienblor added a commit that referenced this issue Oct 30, 2023
* Add support for -j argument in husk #1077

* Add changelog

* Skip command line token for expected values
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request render delegate Related to the Arnold Render Delegate
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant