6 #ifndef NVMLGPUTOPO_HPP_INCLUDE
7 #define NVMLGPUTOPO_HPP_INCLUDE
25 int num_gpu(
void)
const override;
26 int num_gpu(
int domain_type)
const override;
31 std::vector<std::set<int> > m_cpu_affinity_ideal;
Definition: GPUTopo.hpp:16
Definition: NVMLDevicePool.hpp:19
Definition: NVMLGPUTopo.hpp:20
int num_gpu(void) const override
Number of GPUs on the platform.
Definition: NVMLGPUTopo.cpp:103
NVMLGPUTopo()
Definition: NVMLGPUTopo.cpp:20
virtual ~NVMLGPUTopo()=default
std::set< int > cpu_affinity_ideal(int gpu_idx) const override
CPU Affinitization set for a particular GPU.
Definition: NVMLGPUTopo.cpp:115