Skip to content
Snippets Groups Projects
Commit ecb1b049 authored by Ben Cumming's avatar Ben Cumming Committed by Sam Yates
Browse files

Feature/node description (#325)

Refactor hardware-querying code.

Comprises part of the work on issue #318.

* Create `src/hardware` path for hardware-querying code.
* Create `nest::mc::hw` namespace for hardware-querying code.
* Move memory, affinity and power code from util and threading code to the new diretory and namespace.
* Add `nest::mc::threading::num_threads` function that attempts to determine the number of threads to use according to an environment variable, or by using the low level hardware querying if no environment variable is set.
* Add hardware query for counting the number of available GPUs.
parent 90b7966a
No related branches found
No related tags found
No related merge requests found
Showing with 193 additions and 92 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