Sam Yates
authored
* Consolidate default_concurrency, default_gpu functionality into arborenv/default_env.hpp, .cpp. * Add new arborenv function `default_allocation()` that uses environment variables ARBENV_NUM_THREADS and ARBENV_GPU_ID to create an `arb::proc_allocation`, with a fallback to `thread_concurrency()`. * Use arborenv-specific exceptions instead of generic std::runtime_error etc. * Update examples, docs to suit. Fixes #988 (except for reworking all the unit tests!)
Name | Last commit | Last update |
---|---|---|
.. | ||
CMakeLists.txt | ||
bench.cpp | ||
readme.md |