geopm
3.1.1.dev272+gdfb40a8d
GEOPM - Global Extensible Open Power Manager
|
#include <GPUTopo.hpp>
Public Member Functions | |
GPUTopo ()=default | |
virtual | ~GPUTopo ()=default |
virtual int | num_gpu (void) const =0 |
Number of GPUs on the platform. More... | |
virtual int | num_gpu (int domain) const =0 |
virtual std::set< int > | cpu_affinity_ideal (int domain_idx) const =0 |
CPU Affinitization set for a particular GPU. More... | |
virtual std::set< int > | cpu_affinity_ideal (int domain, int domain_idx) const =0 |
|
default |
|
virtualdefault |
|
pure virtual |
Implemented in geopm::NVMLGPUTopo, geopm::GPUTopoNull, geopm::LevelZeroGPUTopo, and geopm::DrmGpuTopo.
|
pure virtual |
CPU Affinitization set for a particular GPU.
[in] | domain | The GEOPM domain type |
[in] | domain_idx | The index indicating a particular GPU |
Implemented in geopm::NVMLGPUTopo, geopm::LevelZeroGPUTopo, geopm::GPUTopoNull, and geopm::DrmGpuTopo.
|
pure virtual |
Implemented in geopm::NVMLGPUTopo, geopm::GPUTopoNull, geopm::LevelZeroGPUTopo, and geopm::DrmGpuTopo.
|
pure virtual |
Number of GPUs on the platform.
[in] | domain | The GEOPM domain type |
Implemented in geopm::NVMLGPUTopo, geopm::LevelZeroGPUTopo, geopm::GPUTopoNull, and geopm::DrmGpuTopo.