resources#
Computational resource management
Functions
Finds the number of CPUs in the current system, while respecting the affinity to make it compatible with cluster management systems. |
|
Finds the number of GPUs in the current system. |
Classes
|
Semaphore allowing chunked atomic resource acquisition. |
|
Acquire computational resources in the form of a context manager. |