Skip to content
Snippets Groups Projects
Unverified Commit 22bd848d authored by Brent Huisman's avatar Brent Huisman Committed by GitHub
Browse files

Have option to set thread count to local maximum (#1716)

* Pyarb specific.
* `proc_allocation_shim()` throws error if user sets threads to zero.
* `arbor.context` constructor accepts `threads` set to `"avail_threads"`, which sets the number of threads to `arbenv::thread_concurrency()`
  * This introduces a dependency on arbenv for Pyarb.
* Docs and tests added.

Fixes #1692 
parent 546e2ad4
No related branches found
No related tags found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment