Open MPI logo

Portable Hardware Locality (hwloc) Documentation: v2.9.0

  |   Home   |   Support   |   FAQ   |  
windows.h
1 /*
2  * Copyright © 2021 Inria. All rights reserved.
3  * See COPYING in top-level directory.
4  */
5 
13 #ifndef HWLOC_WINDOWS_H
14 #define HWLOC_WINDOWS_H
15 
16 #include "hwloc.h"
17 
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
23 
50 HWLOC_DECLSPEC int hwloc_windows_get_nr_processor_groups(hwloc_topology_t topology, unsigned long flags);
51 
66 HWLOC_DECLSPEC int hwloc_windows_get_processor_group_cpuset(hwloc_topology_t topology, unsigned pg_index, hwloc_cpuset_t cpuset, unsigned long flags);
67 
71 #ifdef __cplusplus
72 } /* extern "C" */
73 #endif
74 
75 
76 #endif /* HWLOC_WINDOWS_H */
hwloc_bitmap_t hwloc_cpuset_t
A CPU set is a bitmap whose bits are set according to CPU physical OS indexes.
Definition: hwloc.h:140
struct hwloc_topology * hwloc_topology_t
Topology context.
Definition: hwloc.h:692
int hwloc_windows_get_processor_group_cpuset(hwloc_topology_t topology, unsigned pg_index, hwloc_cpuset_t cpuset, unsigned long flags)
Get the CPU-set of a Windows processor group.
int hwloc_windows_get_nr_processor_groups(hwloc_topology_t topology, unsigned long flags)
Get the number of Windows processor groups.