Open MPI logo

Portable Hardware Locality (hwloc) Documentation: v0.9.3

  |   Home   |   Support   |   FAQ   |  

Helpers for manipulating linux kernel cpumap files

Functions

hwloc_cpuset_t hwloc_linux_parse_cpumap_file (FILE *file)
 Convert a linux kernel cpumap file file into hwloc CPU set.

Function Documentation

hwloc_cpuset_t hwloc_linux_parse_cpumap_file ( FILE *  file  ) 

Convert a linux kernel cpumap file file into hwloc CPU set.

Might be used when reading CPU set from sysfs attributes such as topology and caches for processors, or local_cpus for devices.