#include <DrmGpuTopo.hpp>
◆ DrmGpuTopo() [1/2]
geopm::DrmGpuTopo::DrmGpuTopo |
( |
| ) |
|
|
delete |
◆ DrmGpuTopo() [2/2]
geopm::DrmGpuTopo::DrmGpuTopo |
( |
const std::string & |
drm_directory | ) |
|
◆ ~DrmGpuTopo()
virtual geopm::DrmGpuTopo::~DrmGpuTopo |
( |
| ) |
|
|
virtualdefault |
◆ card_path()
std::string geopm::DrmGpuTopo::card_path |
( |
int |
gpu_idx | ) |
const |
◆ cpu_affinity_ideal() [1/2]
std::set< int > geopm::DrmGpuTopo::cpu_affinity_ideal |
( |
int |
domain, |
|
|
int |
gpu_idx |
|
) |
| const |
|
overridevirtual |
◆ cpu_affinity_ideal() [2/2]
std::set< int > geopm::DrmGpuTopo::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.
◆ driver_name()
std::string geopm::DrmGpuTopo::driver_name |
( |
| ) |
const |
◆ gt_path()
std::string geopm::DrmGpuTopo::gt_path |
( |
int |
gpu_chip_idx | ) |
const |
◆ num_gpu() [1/2]
int geopm::DrmGpuTopo::num_gpu |
( |
int |
domain | ) |
const |
|
overridevirtual |
◆ num_gpu() [2/2]
int geopm::DrmGpuTopo::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: