OpenMPI
0.1.1
|
Macros to help interaction between hwloc and Linux. More...
#include <hwloc.h>
#include <stdio.h>
Go to the source code of this file.
Functions | |
HWLOC_DECLSPEC int | hwloc_linux_parse_cpumap_file (FILE *file, hwloc_cpuset_t set) |
Convert a linux kernel cpumap file file into hwloc CPU set. More... | |
HWLOC_DECLSPEC int | hwloc_linux_set_tid_cpubind (hwloc_topology_t topology, pid_t tid, hwloc_const_cpuset_t set) |
Bind a thread tid on cpus given in cpuset set . More... | |
HWLOC_DECLSPEC int | hwloc_linux_get_tid_cpubind (hwloc_topology_t topology, pid_t tid, hwloc_cpuset_t set) |
Get the current binding of thread tid . More... | |
Macros to help interaction between hwloc and Linux.
Applications that use hwloc on Linux may want to include this file if using some low-level Linux features.