Skip to content
Snippets Groups Projects
Commit 712070f1 authored by Benjamin Cumming's avatar Benjamin Cumming Committed by Sam Yates
Browse files

Refactor hardware detection to sup (#654)

Refactoring that moves the logic for determining available concurrency and available GPUs from the core Arbor library to the sup library. This also constitutes work towards providing functionality for allocating GPUs to particular ranks when multiple GPUs are visible per rank.

* Move core/thread estimation code to sup library.
* Change default resource behaviour to use one thread and no GPU.
* Provide an interface in the sup library for: acquiring a default GPU; for coordinating an allocation of GPUs across multiple MPI ranks.
parent 5e3865cf
No related branches found
No related tags found
No related merge requests found
Showing
with 243 additions and 163 deletions
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