Gromacs
2024.4
|
Functions | |
size_t | countUniqueGpuIdsUsed (ArrayRef< const GpuTaskAssignment > gpuTaskAssignmentOnRanksOfThisNode) |
Count and return the number of unique GPUs (per node) selected. More... | |
size_t gmx::anonymous_namespace{reportgpuusage.cpp}::countUniqueGpuIdsUsed | ( | ArrayRef< const GpuTaskAssignment > | gpuTaskAssignmentOnRanksOfThisNode | ) |
Count and return the number of unique GPUs (per node) selected.
As sharing GPUs among multiple ranks is possible, the number of GPUs used (per node) can be different from the number of GPU IDs used.