#include <LevelZeroGPUTopo.hpp>
◆ LevelZeroGPUTopo() [1/2]
geopm::LevelZeroGPUTopo::LevelZeroGPUTopo |
( |
| ) |
|
◆ LevelZeroGPUTopo() [2/2]
geopm::LevelZeroGPUTopo::LevelZeroGPUTopo |
( |
const LevelZeroDevicePool & |
device_pool, |
|
|
const int |
num_cpu |
|
) |
| |
◆ ~LevelZeroGPUTopo()
virtual geopm::LevelZeroGPUTopo::~LevelZeroGPUTopo |
( |
| ) |
|
|
virtualdefault |
◆ cpu_affinity_ideal() [1/2]
std::set< int > geopm::LevelZeroGPUTopo::cpu_affinity_ideal |
( |
int |
domain, |
|
|
int |
gpu_idx |
|
) |
| const |
|
overridevirtual |
◆ cpu_affinity_ideal() [2/2]
std::set< int > geopm::LevelZeroGPUTopo::cpu_affinity_ideal |
( |
int |
domain_idx | ) |
const |
|
overridevirtual |
CPU Affinitization set for a particular GPU.
- Parameters
-
[in] | domain | The GEOPM domain type |
[in] | domain_idx | The index indicating a particular GPU |
Implements geopm::GPUTopo.
◆ num_gpu() [1/2]
int geopm::LevelZeroGPUTopo::num_gpu |
( |
int |
domain | ) |
const |
|
overridevirtual |
◆ num_gpu() [2/2]
int geopm::LevelZeroGPUTopo::num_gpu |
( |
void |
| ) |
const |
|
overridevirtual |
Number of GPUs on the platform.
- Parameters
-
[in] | domain | The GEOPM domain type |
Implements geopm::GPUTopo.
The documentation for this class was generated from the following files: