6 #ifndef DRMGPUTOPO_HPP_INCLUDE
7 #define DRMGPUTOPO_HPP_INCLUDE
23 int num_gpu(
void)
const override;
24 int num_gpu(
int domain)
const override;
27 std::string
gt_path(
int gpu_chip_idx)
const;
32 std::string m_driver_name;
34 std::vector<std::string> m_card_paths;
36 std::vector<std::string> m_gt_paths;
38 std::vector<std::set<int> > m_cpu_affinity_by_gpu;
40 std::vector<int> m_gpu_by_gpu_chip;
Definition: DrmGpuTopo.hpp:18
std::set< int > cpu_affinity_ideal(int gpu_idx) const override
CPU Affinitization set for a particular GPU.
Definition: DrmGpuTopo.cpp:192
std::string card_path(int gpu_idx) const
Definition: DrmGpuTopo.cpp:234
std::string driver_name() const
Definition: DrmGpuTopo.cpp:244
std::string gt_path(int gpu_chip_idx) const
Definition: DrmGpuTopo.cpp:224
int num_gpu(void) const override
Number of GPUs on the platform.
Definition: DrmGpuTopo.cpp:170
virtual ~DrmGpuTopo()=default
Definition: GPUTopo.hpp:16