index

# Hardware Locality

index
cli_examples
Introduction
installation
interface_example
interface
portability
history
bugs
termsanddefs

# Terms and Definitions

a00001
tools

# Command-line tools

a00002
cli_hwloc_bind
cli_hwloc_distrib
cli_lstopo
cli_hwloc_calc
envvar

# Environment variables

a00003
interoperability

# Interoperability with other software

a00004
threadsafety

# Thread safety

a00005
embed

# Embedding hwloc in other software

a00006
embedding_example
embedding_m4
switchfromplpa

# Switching from PLPA to hwloc

a00007
switchfromplpa_counting
switchfromplpa_indexes
switchfromplpa_caching
switchfromplpa_hierarchy
hwlocality_api_version

# API version

a00026.html
- #define HWLOC_API_VERSION a00026.html ga8f4dfb8eef138af55dd1a0fa802e5476
hwlocality_topology

# Topology context

a00027.html
- struct hwloc_topology * hwloc_topology_t a00027.html ga9d1e76ee15a7dee158b786c30b6a6e38
hwlocality_types

# Topology Object Types

a00028.html
- hwloc_obj_type_t
  a00028.html
  gacd37bb612667dc437d66bfb175a8dc55
- HWLOC_OBJ_SYSTEM
  a00028.html
  ggacd37bb612667dc437d66bfb175a8dc55a3aa1b842d1fd4207ebce171f95a244ec
- HWLOC_OBJ_MACHINE
  a00028.html
  ggacd37bb612667dc437d66bfb175a8dc55a3f4e83ffc4a259354959ae8a9eaa2a80
- HWLOC_OBJ_NODE
  a00028.html
  ggacd37bb612667dc437d66bfb175a8dc55aaf0964881117bdedf1a5e9332cd120dd
- HWLOC_OBJ_SOCKET
  a00028.html
  ggacd37bb612667dc437d66bfb175a8dc55a1ac6e07775ae4324b3fe9dbd72c785ec
- HWLOC_OBJ_CACHE
  a00028.html
  ggacd37bb612667dc437d66bfb175a8dc55a56ee0b7eca88f363b75b34fdde8c9ddc
- HWLOC_OBJ_CORE
  a00028.html
  ggacd37bb612667dc437d66bfb175a8dc55ac793958f330bca371aa1535de8aff45f
- HWLOC_OBJ_PU
  a00028.html
  ggacd37bb612667dc437d66bfb175a8dc55abca6887e80cb291353b0a0c1da83f661
- HWLOC_OBJ_GROUP
  a00028.html
  ggacd37bb612667dc437d66bfb175a8dc55a5269ef95be72f88465559d35c9b7ad56
- HWLOC_OBJ_MISC
  a00028.html
  ggacd37bb612667dc437d66bfb175a8dc55a19f8a6953fa91efc76bcbcdf2d22de4d
- hwloc_compare_types_e
  a00028.html
  ga46323568968005137c32f6a1cd405b74
- HWLOC_TYPE_UNORDERED
  a00028.html
  gga46323568968005137c32f6a1cd405b74a2f8297ea36eba46e7596e810a67298fb
- HWLOC_DECLSPEC int hwloc_compare_types a00028.html gabd7da4f4ea12b420b8ecbde458b27805 (hwloc_obj_type_t type1, hwloc_obj_type_t type2) __hwloc_attribute_const
hwlocality_objects

# Topology Objects

a00029.html
hwloc_obj_memory_s
hwloc_obj
hwloc_obj_attr_u
- struct hwloc_obj * hwloc_obj_t a00029.html ga79b8ab56877ef99ac59b833203391c7d
hwlocality_creation

# Create and Destroy Topologies

a00030.html
- HWLOC_DECLSPEC int hwloc_topology_init a00030.html ga5c2d6f476af87005c7bd0811d4548b9f (hwloc_topology_t *topologyp)
- HWLOC_DECLSPEC int hwloc_topology_load a00030.html ga91e2e6427b95fb7339c99dbbef996e71 (hwloc_topology_t topology)
- HWLOC_DECLSPEC void hwloc_topology_destroy a00030.html ga6040925d3ee4bbb2647f2a321aca5f4b (hwloc_topology_t topology)
- HWLOC_DECLSPEC void hwloc_topology_check a00030.html gab3628b2a540a5a08e8cf724ef829e70a (hwloc_topology_t topology)
hwlocality_configuration

# Configure Topology Detection

a00031.html
hwloc_topology_discovery_support
hwloc_topology_cpubind_support
hwloc_topology_support
- hwloc_topology_flags_e
  a00031.html
  gada025d3ec20b4b420f8038d23d6e7bde
- HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM
  a00031.html
  ggada025d3ec20b4b420f8038d23d6e7bdea129b4fea1300be22bbaf0bb0958994c8
- HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM
  a00031.html
  ggada025d3ec20b4b420f8038d23d6e7bdea6ecb6abc6a0bb75e81564f8bca85783b
- HWLOC_DECLSPEC int hwloc_topology_ignore_type a00031.html gaf2071c8621fddc53649c245d87835b47 (hwloc_topology_t topology, hwloc_obj_type_t type)
- HWLOC_DECLSPEC int hwloc_topology_ignore_type_keep_structure a00031.html ga6ddd4213d95bd1c30555b294a60efa6b (hwloc_topology_t topology, hwloc_obj_type_t type)
- HWLOC_DECLSPEC int hwloc_topology_ignore_all_keep_structure a00031.html gaec6fb00050f50cd41007f1ae580d2106 (hwloc_topology_t topology)
- HWLOC_DECLSPEC int hwloc_topology_set_flags a00031.html ga6d11e53db143ac39c32cdb3912b71f99 (hwloc_topology_t topology, unsigned long flags)
- HWLOC_DECLSPEC int hwloc_topology_set_fsroot a00031.html ga2f6bfb6958d8b508ea1d7d5bb266432c (hwloc_topology_t __hwloc_restrict topology, const char *__hwloc_restrict fsroot_path)
- HWLOC_DECLSPEC int hwloc_topology_set_pid a00031.html gae1100de0162b3c6a9db750ac14629c05 (hwloc_topology_t __hwloc_restrict topology, hwloc_pid_t pid)
- HWLOC_DECLSPEC int hwloc_topology_set_synthetic a00031.html ga2fcb52181b586c20f001b7a999550324 (hwloc_topology_t __hwloc_restrict topology, const char *__hwloc_restrict description)
- HWLOC_DECLSPEC int hwloc_topology_set_xml a00031.html ga93efcc8a962afe1ed23393700682173f (hwloc_topology_t __hwloc_restrict topology, const char *__hwloc_restrict xmlpath)
- HWLOC_DECLSPEC struct hwloc_topology_support * hwloc_topology_get_support a00031.html gac2126e105f3ae708efca2e90d612625a (hwloc_topology_t __hwloc_restrict topology)
hwlocality_tinker

# Tinker with topologies.

a00032.html
- HWLOC_DECLSPEC void hwloc_topology_export_xml a00032.html ga1c9d8e608232206ce2142fe806a6835b (hwloc_topology_t topology, const char *xmlpath)
- HWLOC_DECLSPEC hwloc_obj_t hwloc_topology_insert_misc_object_by_cpuset a00032.html ga017a9ba16d554326c6e3812d545d7230 (hwloc_topology_t topology, hwloc_const_cpuset_t cpuset, const char *name)
- HWLOC_DECLSPEC hwloc_obj_t hwloc_topology_insert_misc_object_by_parent a00032.html gadacd7a3d21220fbb30c3256d8b22a294 (hwloc_topology_t topology, hwloc_obj_t parent, const char *name)
hwlocality_information

# Get some Topology Information

a00033.html
- hwloc_get_type_depth_e
  a00033.html
  gaf4e663cf42bbe20756b849c6293ef575
- HWLOC_TYPE_DEPTH_UNKNOWN
  a00033.html
  ggaf4e663cf42bbe20756b849c6293ef575a0565ab92ab72cb0cec91e23003294aad
- HWLOC_TYPE_DEPTH_MULTIPLE
  a00033.html
  ggaf4e663cf42bbe20756b849c6293ef575ae99465995cacde6c210d5fc2e409798c
- HWLOC_DECLSPEC unsigned hwloc_topology_get_depth a00033.html ga8c30b0cec55074eb3ed34e4f2a1a9937 (hwloc_topology_t __hwloc_restrict topology) __hwloc_attribute_pure
- HWLOC_DECLSPEC int hwloc_get_type_depth a00033.html gaea7c64dd59467f5201ba87712710b14d (hwloc_topology_t topology, hwloc_obj_type_t type)
- HWLOC_DECLSPEC hwloc_obj_type_t hwloc_get_depth_type a00033.html gadd4964764ae7e49231065d58a553fd31 (hwloc_topology_t topology, unsigned depth) __hwloc_attribute_pure
- HWLOC_DECLSPEC unsigned hwloc_get_nbobjs_by_depth a00033.html ga20cfe2456f4cfdd789c9aca6d2fdd69f (hwloc_topology_t topology, unsigned depth) __hwloc_attribute_pure
- static __hwloc_inline int __hwloc_attribute_pure hwloc_get_nbobjs_by_type a00033.html ga0131ab1051011fabfa69d7c1853e716c (hwloc_topology_t topology, hwloc_obj_type_t type)
- HWLOC_DECLSPEC int hwloc_topology_is_thissystem a00033.html ga0d109e33fc7990f62f665d336e5e5111 (hwloc_topology_t __hwloc_restrict topology) __hwloc_attribute_pure
hwlocality_traversal

# Retrieve Objects

a00034.html
- HWLOC_DECLSPEC hwloc_obj_t hwloc_get_obj_by_depth a00034.html gaedd78240b0c1108355586a268ec5a697 (hwloc_topology_t topology, unsigned depth, unsigned idx) __hwloc_attribute_pure
- static __hwloc_inline hwloc_obj_t __hwloc_attribute_pure hwloc_get_obj_by_type a00034.html ga701f83b2cf0cb8e0acd58cd2dc1c67a2 (hwloc_topology_t topology, hwloc_obj_type_t type, unsigned idx)
hwlocality_conversion

# Object/String Conversion

a00035.html
- HWLOC_DECLSPEC const char * hwloc_obj_type_string a00035.html ga7c61920feca6fd9006d930dabfc09058 (hwloc_obj_type_t type) __hwloc_attribute_const
- HWLOC_DECLSPEC hwloc_obj_type_t hwloc_obj_type_of_string a00035.html gade722091ae392fdc79557e797a16c370 (const char *string) __hwloc_attribute_pure
- HWLOC_DECLSPEC int hwloc_obj_type_snprintf a00035.html ga3ad856e8f3487d340c82a23b8a2a0351 (char *__hwloc_restrict string, size_t size, hwloc_obj_t obj, int verbose)
- HWLOC_DECLSPEC int hwloc_obj_attr_snprintf a00035.html ga0db8286d7f3ceda8defd76e3e1e2b284 (char *__hwloc_restrict string, size_t size, hwloc_obj_t obj, const char *__hwloc_restrict separator, int verbose)
- HWLOC_DECLSPEC int hwloc_obj_snprintf a00035.html ga5c6a61a83f4790b421e2f62e9088446f (char *__hwloc_restrict string, size_t size, hwloc_topology_t topology, hwloc_obj_t obj, const char *__hwloc_restrict indexprefix, int verbose)
- HWLOC_DECLSPEC int hwloc_obj_cpuset_snprintf a00035.html gabbfb92224c992c0e2ecef6b6e45260f2 (char *__hwloc_restrict str, size_t size, size_t nobj, const hwloc_obj_t *__hwloc_restrict objs)
hwlocality_binding

# Binding

a00036.html
- hwloc_cpubind_policy_t
  a00036.html
  ga9b2de9a34a18edb39fb272adf9c33622
- HWLOC_CPUBIND_PROCESS
  a00036.html
  gga9b2de9a34a18edb39fb272adf9c33622a2e0dd0128dac6b03408c7dd170477fdc
- HWLOC_CPUBIND_THREAD
  a00036.html
  gga9b2de9a34a18edb39fb272adf9c33622af1b6bbad00d7b1017b918e3719f4d421
- HWLOC_CPUBIND_STRICT
  a00036.html
  gga9b2de9a34a18edb39fb272adf9c33622a679a7e0f0c7ee06b123565f90d98e7fa
- HWLOC_DECLSPEC int hwloc_set_cpubind a00036.html ga42f02baaf7dc0c0f5a6bbeca731fd144 (hwloc_topology_t topology, hwloc_const_cpuset_t set, int policy)
- HWLOC_DECLSPEC int hwloc_get_cpubind a00036.html ga55427f8da8073ae16d0bab11f8137f1c (hwloc_topology_t topology, hwloc_cpuset_t set, int policy)
- HWLOC_DECLSPEC int hwloc_set_proc_cpubind a00036.html gac349497da8f4f738bad51b2861461dc3 (hwloc_topology_t topology, hwloc_pid_t pid, hwloc_const_cpuset_t set, int policy)
- HWLOC_DECLSPEC int hwloc_get_proc_cpubind a00036.html ga02141a2049739d63a5fa7a172d301f1c (hwloc_topology_t topology, hwloc_pid_t pid, hwloc_cpuset_t set, int policy)
- HWLOC_DECLSPEC int hwloc_set_thread_cpubind a00036.html ga2be36e3ab9c9076ab5cca8fd57ae0dcf (hwloc_topology_t topology, hwloc_thread_t tid, hwloc_const_cpuset_t set, int policy)
- HWLOC_DECLSPEC int hwloc_get_thread_cpubind a00036.html ga5f265c78ea768372bae8e5d89d628c22 (hwloc_topology_t topology, hwloc_thread_t tid, hwloc_cpuset_t set, int policy)
hwlocality_helper_types

# Object Type Helpers

a00037.html
- static __hwloc_inline int __hwloc_attribute_pure hwloc_get_type_or_below_depth a00037.html ga0ffafb4c0ae13b9a7541ca820ca34883 (hwloc_topology_t topology, hwloc_obj_type_t type)
- static __hwloc_inline int __hwloc_attribute_pure hwloc_get_type_or_above_depth a00037.html ga24b9cd5917fcebac6e45ae38d0a6cda4 (hwloc_topology_t topology, hwloc_obj_type_t type)
hwlocality_helper_traversal_basic

# Basic Traversal Helpers

a00038.html
- static __hwloc_inline hwloc_obj_t __hwloc_attribute_pure hwloc_get_root_obj a00038.html ga632edae4a651996895ebde85ea2c1264 (hwloc_topology_t topology)
- static __hwloc_inline hwloc_obj_t __hwloc_attribute_pure hwloc_get_ancestor_obj_by_depth a00038.html gafa813c4ff8d610b3e158224a56386b2f (hwloc_topology_t topology __hwloc_attribute_unused, unsigned depth, hwloc_obj_t obj)
- static __hwloc_inline hwloc_obj_t __hwloc_attribute_pure hwloc_get_ancestor_obj_by_type a00038.html ga20ade151cb33991b4cd960924a830764 (hwloc_topology_t topology __hwloc_attribute_unused, hwloc_obj_type_t type, hwloc_obj_t obj)
- static __hwloc_inline hwloc_obj_t hwloc_get_next_obj_by_depth a00038.html gab7c1dce3f42ece5bfa621e87cf332418 (hwloc_topology_t topology, unsigned depth, hwloc_obj_t prev)
- static __hwloc_inline hwloc_obj_t hwloc_get_next_obj_by_type a00038.html ga5f08ceb69375341e73563cfe2e77534e (hwloc_topology_t topology, hwloc_obj_type_t type, hwloc_obj_t prev)
- static __hwloc_inline hwloc_obj_t __hwloc_attribute_pure hwloc_get_pu_obj_by_os_index a00038.html ga61e00b83e7e0a1a946dc1bb29c49ccba (hwloc_topology_t topology, unsigned os_index)
- static __hwloc_inline hwloc_obj_t hwloc_get_next_child a00038.html gae5ef1af636849f77714e1584ba78cf9c (hwloc_topology_t topology __hwloc_attribute_unused, hwloc_obj_t parent, hwloc_obj_t prev)
- static __hwloc_inline hwloc_obj_t __hwloc_attribute_pure hwloc_get_common_ancestor_obj a00038.html gac574b7b06d2d937002dd538e08dbd554 (hwloc_topology_t topology __hwloc_attribute_unused, hwloc_obj_t obj1, hwloc_obj_t obj2)
- static __hwloc_inline int __hwloc_attribute_pure hwloc_obj_is_in_subtree a00038.html ga38d9bd3a7566d0e6b0ab95d652557707 (hwloc_topology_t topology __hwloc_attribute_unused, hwloc_obj_t obj, hwloc_obj_t subtree_root)
hwlocality_helper_find_inside

# Finding Objects Inside a CPU set

a00039.html
- static __hwloc_inline hwloc_obj_t hwloc_get_first_largest_obj_inside_cpuset a00039.html gabcd5fa81a95fa5335950cae092277d5b (hwloc_topology_t topology, hwloc_const_cpuset_t set)
- HWLOC_DECLSPEC int hwloc_get_largest_objs_inside_cpuset a00039.html gaab04c89623662e63a48ed2cd48eb601c (hwloc_topology_t topology, hwloc_const_cpuset_t set, hwloc_obj_t *__hwloc_restrict objs, int max)
- static __hwloc_inline hwloc_obj_t hwloc_get_next_obj_inside_cpuset_by_depth a00039.html ga8af256c2572f16520f95440b884c1bd6 (hwloc_topology_t topology, hwloc_const_cpuset_t set, unsigned depth, hwloc_obj_t prev)
- static __hwloc_inline hwloc_obj_t hwloc_get_next_obj_inside_cpuset_by_type a00039.html ga934e7ecd68b33403e0c0be779d9ed1e6 (hwloc_topology_t topology, hwloc_const_cpuset_t set, hwloc_obj_type_t type, hwloc_obj_t prev)
- static __hwloc_inline hwloc_obj_t __hwloc_attribute_pure hwloc_get_obj_inside_cpuset_by_depth a00039.html ga20703980008f82379f98f56857611a1a (hwloc_topology_t topology, hwloc_const_cpuset_t set, unsigned depth, unsigned idx)
- static __hwloc_inline hwloc_obj_t __hwloc_attribute_pure hwloc_get_obj_inside_cpuset_by_type a00039.html ga50a80a0021e5843d968c3b97aebaad9b (hwloc_topology_t topology, hwloc_const_cpuset_t set, hwloc_obj_type_t type, unsigned idx)
- static __hwloc_inline unsigned __hwloc_attribute_pure hwloc_get_nbobjs_inside_cpuset_by_depth a00039.html ga6807db0012369efe19b8d3dcee235493 (hwloc_topology_t topology, hwloc_const_cpuset_t set, unsigned depth)
- static __hwloc_inline int __hwloc_attribute_pure hwloc_get_nbobjs_inside_cpuset_by_type a00039.html ga72c5bc4317a4c3938e32447b769813a0 (hwloc_topology_t topology, hwloc_const_cpuset_t set, hwloc_obj_type_t type)
hwlocality_helper_find_covering

# Finding a single Object covering at least CPU set

a00040.html
- static __hwloc_inline hwloc_obj_t __hwloc_attribute_pure hwloc_get_child_covering_cpuset a00040.html gab56b99460194bbcb36016d36d55132a7 (hwloc_topology_t topology __hwloc_attribute_unused, hwloc_const_cpuset_t set, hwloc_obj_t parent)
- static __hwloc_inline hwloc_obj_t __hwloc_attribute_pure hwloc_get_obj_covering_cpuset a00040.html ga2a0de36ea0c3c70fb5f4cba0bb192582 (hwloc_topology_t topology, hwloc_const_cpuset_t set)
hwlocality_helper_find_coverings

# Finding a set of similar Objects covering at least a CPU set

a00041.html
- static __hwloc_inline hwloc_obj_t hwloc_get_next_obj_covering_cpuset_by_depth a00041.html ga2f9a4ec15e9cfae8c21501257a51ce5b (hwloc_topology_t topology, hwloc_const_cpuset_t set, unsigned depth, hwloc_obj_t prev)
- static __hwloc_inline hwloc_obj_t hwloc_get_next_obj_covering_cpuset_by_type a00041.html ga5915ea30f326676b3a4cfff371ce04d1 (hwloc_topology_t topology, hwloc_const_cpuset_t set, hwloc_obj_type_t type, hwloc_obj_t prev)
hwlocality_helper_find_cache

# Cache-specific Finding Helpers

a00042.html
- static __hwloc_inline hwloc_obj_t __hwloc_attribute_pure hwloc_get_cache_covering_cpuset a00042.html gae744419648117cbd613a038074aa0627 (hwloc_topology_t topology, hwloc_const_cpuset_t set)
- static __hwloc_inline hwloc_obj_t __hwloc_attribute_pure hwloc_get_shared_cache_covering_obj a00042.html ga75e961873d4b976ab10bc4739248c96d (hwloc_topology_t topology __hwloc_attribute_unused, hwloc_obj_t obj)
hwlocality_helper_traversal

# Advanced Traversal Helpers

a00043.html
- HWLOC_DECLSPEC unsigned hwloc_get_closest_objs a00043.html ga26c2ac4f25b1ed293249c88e232f1bea (hwloc_topology_t topology, hwloc_obj_t src, hwloc_obj_t *__hwloc_restrict objs, unsigned max)
- static __hwloc_inline hwloc_obj_t __hwloc_attribute_pure hwloc_get_obj_below_by_type a00043.html ga3d32c128aa36b5c9d56f6bf9e70d0e78 (hwloc_topology_t topology, hwloc_obj_type_t type1, unsigned idx1, hwloc_obj_type_t type2, unsigned idx2)
- static __hwloc_inline hwloc_obj_t __hwloc_attribute_pure hwloc_get_obj_below_array_by_type a00043.html ga340bb7021204078c30382ea77d38bde9 (hwloc_topology_t topology, int nr, hwloc_obj_type_t *typev, unsigned *idxv)
hwlocality_helper_binding

# Binding Helpers

a00044.html
- static __hwloc_inline void hwloc_distribute a00044.html gaa03a77c4c210a95989ef803ebd9c4524 (hwloc_topology_t topology, hwloc_obj_t root, hwloc_cpuset_t *cpuset, unsigned n)
hwlocality_helper_cpuset

# Cpuset Helpers

a00045.html
- static __hwloc_inline hwloc_const_cpuset_t __hwloc_attribute_pure hwloc_topology_get_complete_cpuset a00045.html ga75f0ac3ac41e9915541c3ae3153a6e26 (hwloc_topology_t topology)
- static __hwloc_inline hwloc_const_cpuset_t __hwloc_attribute_pure hwloc_topology_get_topology_cpuset a00045.html ga4497338d1cbae6f8a6d68cb14234d5d8 (hwloc_topology_t topology)
- static __hwloc_inline hwloc_const_cpuset_t __hwloc_attribute_pure hwloc_topology_get_online_cpuset a00045.html gad00abc77f1670049a5b2139471d0c8db (hwloc_topology_t topology)
- static __hwloc_inline hwloc_const_cpuset_t __hwloc_attribute_pure hwloc_topology_get_allowed_cpuset a00045.html ga95f116c4c0b1ff2c6418c16341fc2e57 (hwloc_topology_t topology)
hwlocality_cpuset

# The Cpuset API

a00046.html
- #define hwloc_cpuset_foreach_begin a00046.html ga8f896ce703ad1740fdf9ce8ac6361359 (cpu, set)
- #define hwloc_cpuset_foreach_end a00046.html gae2974be78a7d7cddbd38cb23fcc6240a ()
- struct hwloc_cpuset_s * hwloc_cpuset_t a00046.html ga7366332f7090f5b54d4b25a0c2c4b411
- struct hwloc_cpuset_s * hwloc_const_cpuset_t a00046.html gad2f7833583d020af31e01554251dbe11
- HWLOC_DECLSPEC hwloc_cpuset_t hwloc_cpuset_alloc a00046.html gaf270165b6a08e8418fcfb68f5793ff7f (void) __hwloc_attribute_malloc
- HWLOC_DECLSPEC void hwloc_cpuset_free a00046.html gaaac6c1536cdcc35f1a1a3a9ab84da80d (hwloc_cpuset_t set)
- HWLOC_DECLSPEC hwloc_cpuset_t hwloc_cpuset_dup a00046.html ga468c6e3fd92a9d0db1fb56634a851be3 (hwloc_const_cpuset_t set) __hwloc_attribute_malloc
- HWLOC_DECLSPEC void hwloc_cpuset_copy a00046.html ga27a3b6994bd6f20c1f26d10bdb29ac0b (hwloc_cpuset_t dst, hwloc_const_cpuset_t src)
- HWLOC_DECLSPEC int hwloc_cpuset_snprintf a00046.html ga4ed0a2badc6ff03f4d91a8d3c505b3e6 (char *__hwloc_restrict buf, size_t buflen, hwloc_const_cpuset_t set)
- HWLOC_DECLSPEC int hwloc_cpuset_asprintf a00046.html ga7a89398cbc58c9095aa094b9aeacbf00 (char **strp, hwloc_const_cpuset_t set)
- HWLOC_DECLSPEC int hwloc_cpuset_from_string a00046.html gab6fb26149e25d4e5719a787ee01bacaa (hwloc_cpuset_t set, const char *__hwloc_restrict string)
- HWLOC_DECLSPEC void hwloc_cpuset_zero a00046.html gacabf3491be3ab41b4ad1ee28f72db89e (hwloc_cpuset_t set)
- HWLOC_DECLSPEC void hwloc_cpuset_fill a00046.html gacdc29003a0663e9b8b3a9d405a94fb70 (hwloc_cpuset_t set)
- HWLOC_DECLSPEC void hwloc_cpuset_from_ulong a00046.html ga81218f1945e8fa25bbbc4e6277019122 (hwloc_cpuset_t set, unsigned long mask)
- HWLOC_DECLSPEC void hwloc_cpuset_from_ith_ulong a00046.html gac473267f1aa161c3e3e2a26ef25a477c (hwloc_cpuset_t set, unsigned i, unsigned long mask)
- HWLOC_DECLSPEC unsigned long hwloc_cpuset_to_ulong a00046.html ga5eb912bf1d0572127c3eed1b8a47e6ac (hwloc_const_cpuset_t set) __hwloc_attribute_pure
- HWLOC_DECLSPEC unsigned long hwloc_cpuset_to_ith_ulong a00046.html ga7576f6a70291feafe9e538942c8b7ee5 (hwloc_const_cpuset_t set, unsigned i) __hwloc_attribute_pure
- HWLOC_DECLSPEC void hwloc_cpuset_cpu a00046.html ga8ee7aa4827fb49af47eac9b66c74fd78 (hwloc_cpuset_t set, unsigned cpu)
- HWLOC_DECLSPEC void hwloc_cpuset_all_but_cpu a00046.html ga02d86bba61be473bfdceb336c9087736 (hwloc_cpuset_t set, unsigned cpu)
- HWLOC_DECLSPEC void hwloc_cpuset_set a00046.html ga793d0c31b524337355ddce1c6568a866 (hwloc_cpuset_t set, unsigned cpu)
- HWLOC_DECLSPEC void hwloc_cpuset_set_range a00046.html ga2f15dc90a98d14db8022f76a38c39727 (hwloc_cpuset_t set, unsigned begincpu, unsigned endcpu)
- HWLOC_DECLSPEC void hwloc_cpuset_clr a00046.html ga59f2a65f5260581ee642b0a8375be564 (hwloc_cpuset_t set, unsigned cpu)
- HWLOC_DECLSPEC void hwloc_cpuset_clr_range a00046.html ga214d599ff5b66073460b7ee9a75016a8 (hwloc_cpuset_t set, unsigned begincpu, unsigned endcpu)
- HWLOC_DECLSPEC int hwloc_cpuset_isset a00046.html ga7236a9cf8be3ded29a912790e35065f7 (hwloc_const_cpuset_t set, unsigned cpu) __hwloc_attribute_pure
- HWLOC_DECLSPEC int hwloc_cpuset_iszero a00046.html gac5b8ad0c32e9d14c587eabde188182a9 (hwloc_const_cpuset_t set) __hwloc_attribute_pure
- HWLOC_DECLSPEC int hwloc_cpuset_isfull a00046.html gab8703a0f28053bd3981852548e3182d1 (hwloc_const_cpuset_t set) __hwloc_attribute_pure
- HWLOC_DECLSPEC int hwloc_cpuset_isequal a00046.html ga9534d84820beade1e6155a1e734307a2 (hwloc_const_cpuset_t set1, hwloc_const_cpuset_t set2) __hwloc_attribute_pure
- HWLOC_DECLSPEC int hwloc_cpuset_intersects a00046.html gad7cbab558a9a80652c3ad0b30d488f04 (hwloc_const_cpuset_t set1, hwloc_const_cpuset_t set2) __hwloc_attribute_pure
- HWLOC_DECLSPEC int hwloc_cpuset_isincluded a00046.html ga135bbe4177fbfe8b14bcbe6aad765801 (hwloc_const_cpuset_t sub_set, hwloc_const_cpuset_t super_set) __hwloc_attribute_pure
- HWLOC_DECLSPEC void hwloc_cpuset_or a00046.html ga9654f87331e6f33090bed3d326346e85 (hwloc_cpuset_t res, hwloc_const_cpuset_t set1, hwloc_const_cpuset_t set2)
- HWLOC_DECLSPEC void hwloc_cpuset_and a00046.html gacd5a399d475b7d75e71489177650b6df (hwloc_cpuset_t res, hwloc_const_cpuset_t set1, hwloc_const_cpuset_t set2)
- HWLOC_DECLSPEC void hwloc_cpuset_andnot a00046.html ga338fa981505cb2c87e3e9dc543a698b9 (hwloc_cpuset_t res, hwloc_const_cpuset_t set1, hwloc_const_cpuset_t set2)
- HWLOC_DECLSPEC void hwloc_cpuset_xor a00046.html ga82f8b81aa98c3a488e21838620da8852 (hwloc_cpuset_t res, hwloc_const_cpuset_t set1, hwloc_const_cpuset_t set2)
- HWLOC_DECLSPEC void hwloc_cpuset_not a00046.html ga9494650a8cb93e1dc77590e2393519a5 (hwloc_cpuset_t res, hwloc_const_cpuset_t set)
- HWLOC_DECLSPEC int hwloc_cpuset_first a00046.html gaec614784aab4c1bd4d279fc548f4aa40 (hwloc_const_cpuset_t set) __hwloc_attribute_pure
- HWLOC_DECLSPEC int hwloc_cpuset_last a00046.html gaf4fb6d1ca812633f2e5eaa8ae98b1aef (hwloc_const_cpuset_t set) __hwloc_attribute_pure
- HWLOC_DECLSPEC int hwloc_cpuset_next a00046.html ga6bf3fd9ea7b0d0fcb5656bab8b68c1bf (hwloc_const_cpuset_t set, unsigned prev_cpu) __hwloc_attribute_pure
- HWLOC_DECLSPEC void hwloc_cpuset_singlify a00046.html gace7ad3d2a71d9884e7a28311228931af (hwloc_cpuset_t set)
- HWLOC_DECLSPEC int hwloc_cpuset_compare_first a00046.html ga6d54e9fa190351368ea08d02b6b09d32 (hwloc_const_cpuset_t set1, hwloc_const_cpuset_t set2) __hwloc_attribute_pure
- HWLOC_DECLSPEC int hwloc_cpuset_compare a00046.html gad3ec83a8f86764d87676a7a48c837d70 (hwloc_const_cpuset_t set1, hwloc_const_cpuset_t set2) __hwloc_attribute_pure
- HWLOC_DECLSPEC int hwloc_cpuset_weight a00046.html ga432291e25ca6e91ab689b08cdc26d3fa (hwloc_const_cpuset_t set) __hwloc_attribute_pure
hwlocality_glibc_sched

# Helpers for manipulating glibc sched affinity

a00047.html
- static __hwloc_inline int hwloc_cpuset_to_glibc_sched_affinity a00047.html ga39454e6013441d32e58ef4c4fcba7e4b (hwloc_topology_t topology __hwloc_attribute_unused, hwloc_const_cpuset_t hwlocset, cpu_set_t *schedset, size_t schedsetsize)
- static __hwloc_inline int hwloc_cpuset_from_glibc_sched_affinity a00047.html ga6df504b2f5440b527be05cdad6b1655e (hwloc_topology_t topology __hwloc_attribute_unused, hwloc_cpuset_t hwlocset, const cpu_set_t *schedset, size_t schedsetsize)
hwlocality_linux

# Linux-only helpers

a00048.html
- HWLOC_DECLSPEC int hwloc_linux_parse_cpumap_file a00048.html gaeacad897c30dbea284948374ad4b010c (FILE *file, hwloc_cpuset_t set)
- HWLOC_DECLSPEC int hwloc_linux_set_tid_cpubind a00048.html gaaaca5d1687053b6c3326b2c165bd6530 (hwloc_topology_t topology, pid_t tid, hwloc_const_cpuset_t set)
- HWLOC_DECLSPEC int hwloc_linux_get_tid_cpubind a00048.html gaf36a9211a21eb930f59090eb5d460b8e (hwloc_topology_t topology, pid_t tid, hwloc_cpuset_t set)
hwlocality_linux_libnuma_ulongs

# Helpers for manipulating Linux libnuma unsigned long masks

a00049.html
- static __hwloc_inline int hwloc_cpuset_to_linux_libnuma_ulongs a00049.html ga018e57a42a780ce2ba2e35ef975d8888 (hwloc_topology_t topology, hwloc_const_cpuset_t cpuset, unsigned long *mask, unsigned long *maxnode)
- static __hwloc_inline int hwloc_cpuset_from_linux_libnuma_ulongs a00049.html gafa60816dde33d69149497bcf6c7818e0 (hwloc_topology_t topology, hwloc_cpuset_t cpuset, const unsigned long *mask, unsigned long maxnode)
hwlocality_linux_libnuma_bitmask

# Helpers for manipulating Linux libnuma bitmask

a00050.html
- static __hwloc_inline struct bitmask *__hwloc_attribute_malloc hwloc_cpuset_to_linux_libnuma_bitmask a00050.html ga067ec565345a346bfd9d721cff5901ae (hwloc_topology_t topology, hwloc_const_cpuset_t cpuset)
- static __hwloc_inline int hwloc_cpuset_from_linux_libnuma_bitmask a00050.html ga47747968f12c2674d2840dfbacce4940 (hwloc_topology_t topology, hwloc_cpuset_t cpuset, const struct bitmask *bitmask)
hwlocality_linux_libnuma_nodemask

# Helpers for manipulating Linux libnuma nodemask_t

a00051.html
- static __hwloc_inline int hwloc_cpuset_to_linux_libnuma_nodemask a00051.html ga36feb81315de87ce11d9a5aa2b4c6e6d (hwloc_topology_t topology, hwloc_const_cpuset_t cpuset, nodemask_t *nodemask)
- static __hwloc_inline int hwloc_cpuset_from_linux_libnuma_nodemask a00051.html gac24c9e4bb2eab3e23b2039559adc9df8 (hwloc_topology_t topology, hwloc_cpuset_t cpuset, const nodemask_t *nodemask)
hwloc_openfabrics

# OpenFabrics-Specific Functions

a00052.html
- static __hwloc_inline int hwloc_ibv_get_device_cpuset a00052.html gaa8ea979ce3a9b8c70ae80bc5716a0fbe (hwloc_topology_t topology __hwloc_attribute_unused, struct ibv_device *ibdev, hwloc_cpuset_t set)
hwloc_obj
a00011.html
- hwloc_obj_type_t type a00011.html acc4f0803f244867e68fe0036800be5de
- unsigned os_index a00011.html a61a7a80a68eaccbaaa28269e678c81a9
- char * name a00011.html abb709ec38f2970677e4e57d1d30be96d
- struct hwloc_obj_memory_s memory a00011.html a1dc830816716213b5f797e4052487864
- union hwloc_obj_attr_u * attr a00011.html accd40e29f71f19e88db62ea3df02adc8
- unsigned depth a00011.html a9d82690370275d42d652eccdea5d3ee5
- unsigned logical_index a00011.html a0d07fb7b8935e137c94d75a3eb492ae9
- signed os_level a00011.html a68766f0b1c4d61b5bad87e3b81dacfde
- struct hwloc_obj * next_cousin a00011.html a85a788017457129589318b6c39451acf
- struct hwloc_obj * prev_cousin a00011.html ac715989f55ff5a0eb6be2969ee477ec0
- struct hwloc_obj * parent a00011.html adc494f6aed939992be1c55cca5822900
- unsigned sibling_rank a00011.html aaa6043eee6f55869933c1d974efd9acd
- struct hwloc_obj * next_sibling a00011.html a7f2343ed476fe4942e6fffd4cade1b40
- struct hwloc_obj * prev_sibling a00011.html a7b89e8c189876c0158a9282aaaf17f50
- unsigned arity a00011.html aac3f6da35c9b57599909a44ce2b716c1
- struct hwloc_obj ** children a00011.html a04d05403da37bfe17cd63b7c7dd07b1f
- struct hwloc_obj * first_child a00011.html af51d08a0a79dba517c06c5afedc8d2dc
- struct hwloc_obj * last_child a00011.html a84bd65634dbc55f4158b74443a9bd04f
- void * userdata a00011.html a76fd3ac94401cf32dfccc3a3a8de68a5
- hwloc_cpuset_t cpuset a00011.html a67925e0f2c47f50408fbdb9bddd0790f
- hwloc_cpuset_t complete_cpuset a00011.html a91788a9da687beb7224cc1fd7b75208c
- hwloc_cpuset_t online_cpuset a00011.html a8842d56c2975380f327ea401c5f53564
- hwloc_cpuset_t allowed_cpuset a00011.html afa3c59a6dd3da8ffa48710780a1bfb34
- hwloc_cpuset_t nodeset a00011.html a79982ede313c2190505fc5e3714a16fb
- hwloc_cpuset_t complete_nodeset a00011.html adc473a52c071d7fd49e659ac90467a0f
- hwloc_cpuset_t allowed_nodeset a00011.html a9c1af614e0978a65ce309f921a822c8b
hwloc_obj_attr_u
a00012.html
hwloc_obj_attr_u::hwloc_cache_attr_s
hwloc_obj_attr_u::hwloc_group_attr_s
hwloc_obj_attr_u::hwloc_machine_attr_s
- struct hwloc_obj_attr_u::hwloc_cache_attr_s cache a00012.html ab5a8ae3bf490e6b1071fea53f7382836
- struct hwloc_obj_attr_u::hwloc_machine_attr_s machine a00012.html a5b42966df7c5bfdc36891e414cc31607
- struct hwloc_obj_attr_u::hwloc_group_attr_s group a00012.html ae4ba157cc313e2cdd9a82f1c1df7aaa6
hwloc_obj_attr_u::hwloc_cache_attr_s
a00008.html
- uint64_t size a00008.html a3c68235220554308f89768f281ad1e62
- unsigned depth a00008.html a5c8f7f39193736c2187ed626940835d5
hwloc_obj_attr_u::hwloc_group_attr_s
a00009.html
- unsigned depth a00009.html ad914eac61c77481e1b7037877bcc5579
hwloc_obj_attr_u::hwloc_machine_attr_s
a00010.html
- char * dmi_board_vendor a00010.html aae85be0b4ebb86501718c4b460df5167
- char * dmi_board_name a00010.html a8b99af84fd38753a91c861f0e856b461
hwloc_obj_memory_s
a00014.html
hwloc_obj_memory_s::hwloc_obj_memory_page_type_s
- uint64_t total_memory a00014.html a68c3323d2d0a248d1b7fec7af44bebe3
- uint64_t local_memory a00014.html a27043a3150660f44ed84916c2d0d7e0e
- unsigned page_types_len a00014.html a208c27f4491077d7fb9ba5db8b29cb57
- struct hwloc_obj_memory_s::hwloc_obj_memory_page_type_s * page_types a00014.html a865eba7b12b986d72dbe7a2cfd97c50d
hwloc_obj_memory_s::hwloc_obj_memory_page_type_s
a00013.html
- uint64_t size a00013.html af0619463fb5d10052b7fe3495a66d74b
- uint64_t count a00013.html ab5d01db7b26177a6b5361107cad152c3
hwloc_topology_cpubind_support
a00015.html
- unsigned char set_thisproc_cpubind a00015.html a9403d51657a4d546b3ea9553a2973a27
- unsigned char get_thisproc_cpubind a00015.html a77a09ddd78ee3e9ff5f532a6ac74f7eb
- unsigned char set_proc_cpubind a00015.html aa166223d1c2a6de7256ab2d8b675a87e
- unsigned char get_proc_cpubind a00015.html aae705bc447adc163ead377362c4dfe9f
- unsigned char set_thisthread_cpubind a00015.html a57a89a4b5f1f74fa6cfe176f1e8b0798
- unsigned char get_thisthread_cpubind a00015.html a80d762e532d677dff262d83cc7bb1c60
- unsigned char set_thread_cpubind a00015.html a46fba33e307909ce256624687799dd6d
- unsigned char get_thread_cpubind a00015.html a8dd4d8531ed2eebdce1507e7d104154e
hwloc_topology_discovery_support
a00016.html
- unsigned char pu a00016.html ad7bb4ecf7a82f5a04fc632e9592ad3ab
hwloc_topology_support
a00017.html
- struct hwloc_topology_discovery_support * discovery a00017.html aea3fbd7653d987d81f848636c420504d
- struct hwloc_topology_cpubind_support * cpubind a00017.html adef2bb91f74c3e70a2a071393caf5f56