rename.h 47 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910
  1. /*
  2. * Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
  3. * Copyright © 2010-2022 Inria. All rights reserved.
  4. * See COPYING in top-level directory.
  5. */
  6. #ifndef HWLOC_RENAME_H
  7. #define HWLOC_RENAME_H
  8. #include "hwloc/autogen/config.h"
  9. #ifdef __cplusplus
  10. extern "C" {
  11. #endif
  12. /* Only enact these defines if we're actually renaming the symbols
  13. (i.e., avoid trying to have no-op defines if we're *not*
  14. renaming). */
  15. #if HWLOC_SYM_TRANSFORM
  16. /* Use a preprocessor two-step in order to get the prefixing right.
  17. Make 2 macros: HWLOC_NAME and HWLOC_NAME_CAPS for renaming
  18. things. */
  19. #define HWLOC_MUNGE_NAME(a, b) HWLOC_MUNGE_NAME2(a, b)
  20. #define HWLOC_MUNGE_NAME2(a, b) a ## b
  21. #define HWLOC_NAME(name) HWLOC_MUNGE_NAME(HWLOC_SYM_PREFIX, hwloc_ ## name)
  22. /* FIXME: should be "HWLOC_ ## name" below, unchanged because it doesn't matter much and could break some embedders hacks */
  23. #define HWLOC_NAME_CAPS(name) HWLOC_MUNGE_NAME(HWLOC_SYM_PREFIX_CAPS, hwloc_ ## name)
  24. /* Now define all the "real" names to be the prefixed names. This
  25. allows us to use the real names throughout the code base (i.e.,
  26. "hwloc_<foo>"); the preprocessor will adjust to have the prefixed
  27. name under the covers. */
  28. /* Names from hwloc.h */
  29. #define hwloc_get_api_version HWLOC_NAME(get_api_version)
  30. #define hwloc_topology HWLOC_NAME(topology)
  31. #define hwloc_topology_t HWLOC_NAME(topology_t)
  32. #define hwloc_cpuset_t HWLOC_NAME(cpuset_t)
  33. #define hwloc_const_cpuset_t HWLOC_NAME(const_cpuset_t)
  34. #define hwloc_nodeset_t HWLOC_NAME(nodeset_t)
  35. #define hwloc_const_nodeset_t HWLOC_NAME(const_nodeset_t)
  36. #define HWLOC_OBJ_MACHINE HWLOC_NAME_CAPS(OBJ_MACHINE)
  37. #define HWLOC_OBJ_NUMANODE HWLOC_NAME_CAPS(OBJ_NUMANODE)
  38. #define HWLOC_OBJ_MEMCACHE HWLOC_NAME_CAPS(OBJ_MEMCACHE)
  39. #define HWLOC_OBJ_PACKAGE HWLOC_NAME_CAPS(OBJ_PACKAGE)
  40. #define HWLOC_OBJ_DIE HWLOC_NAME_CAPS(OBJ_DIE)
  41. #define HWLOC_OBJ_CORE HWLOC_NAME_CAPS(OBJ_CORE)
  42. #define HWLOC_OBJ_PU HWLOC_NAME_CAPS(OBJ_PU)
  43. #define HWLOC_OBJ_L1CACHE HWLOC_NAME_CAPS(OBJ_L1CACHE)
  44. #define HWLOC_OBJ_L2CACHE HWLOC_NAME_CAPS(OBJ_L2CACHE)
  45. #define HWLOC_OBJ_L3CACHE HWLOC_NAME_CAPS(OBJ_L3CACHE)
  46. #define HWLOC_OBJ_L4CACHE HWLOC_NAME_CAPS(OBJ_L4CACHE)
  47. #define HWLOC_OBJ_L5CACHE HWLOC_NAME_CAPS(OBJ_L5CACHE)
  48. #define HWLOC_OBJ_L1ICACHE HWLOC_NAME_CAPS(OBJ_L1ICACHE)
  49. #define HWLOC_OBJ_L2ICACHE HWLOC_NAME_CAPS(OBJ_L2ICACHE)
  50. #define HWLOC_OBJ_L3ICACHE HWLOC_NAME_CAPS(OBJ_L3ICACHE)
  51. #define HWLOC_OBJ_MISC HWLOC_NAME_CAPS(OBJ_MISC)
  52. #define HWLOC_OBJ_GROUP HWLOC_NAME_CAPS(OBJ_GROUP)
  53. #define HWLOC_OBJ_BRIDGE HWLOC_NAME_CAPS(OBJ_BRIDGE)
  54. #define HWLOC_OBJ_PCI_DEVICE HWLOC_NAME_CAPS(OBJ_PCI_DEVICE)
  55. #define HWLOC_OBJ_OS_DEVICE HWLOC_NAME_CAPS(OBJ_OS_DEVICE)
  56. #define HWLOC_OBJ_TYPE_MAX HWLOC_NAME_CAPS(OBJ_TYPE_MAX)
  57. #define hwloc_obj_type_t HWLOC_NAME(obj_type_t)
  58. #define hwloc_obj_cache_type_e HWLOC_NAME(obj_cache_type_e)
  59. #define hwloc_obj_cache_type_t HWLOC_NAME(obj_cache_type_t)
  60. #define HWLOC_OBJ_CACHE_UNIFIED HWLOC_NAME_CAPS(OBJ_CACHE_UNIFIED)
  61. #define HWLOC_OBJ_CACHE_DATA HWLOC_NAME_CAPS(OBJ_CACHE_DATA)
  62. #define HWLOC_OBJ_CACHE_INSTRUCTION HWLOC_NAME_CAPS(OBJ_CACHE_INSTRUCTION)
  63. #define hwloc_obj_bridge_type_e HWLOC_NAME(obj_bridge_type_e)
  64. #define hwloc_obj_bridge_type_t HWLOC_NAME(obj_bridge_type_t)
  65. #define HWLOC_OBJ_BRIDGE_HOST HWLOC_NAME_CAPS(OBJ_BRIDGE_HOST)
  66. #define HWLOC_OBJ_BRIDGE_PCI HWLOC_NAME_CAPS(OBJ_BRIDGE_PCI)
  67. #define hwloc_obj_osdev_type_e HWLOC_NAME(obj_osdev_type_e)
  68. #define hwloc_obj_osdev_type_t HWLOC_NAME(obj_osdev_type_t)
  69. #define HWLOC_OBJ_OSDEV_BLOCK HWLOC_NAME_CAPS(OBJ_OSDEV_BLOCK)
  70. #define HWLOC_OBJ_OSDEV_GPU HWLOC_NAME_CAPS(OBJ_OSDEV_GPU)
  71. #define HWLOC_OBJ_OSDEV_NETWORK HWLOC_NAME_CAPS(OBJ_OSDEV_NETWORK)
  72. #define HWLOC_OBJ_OSDEV_OPENFABRICS HWLOC_NAME_CAPS(OBJ_OSDEV_OPENFABRICS)
  73. #define HWLOC_OBJ_OSDEV_DMA HWLOC_NAME_CAPS(OBJ_OSDEV_DMA)
  74. #define HWLOC_OBJ_OSDEV_COPROC HWLOC_NAME_CAPS(OBJ_OSDEV_COPROC)
  75. #define hwloc_compare_types HWLOC_NAME(compare_types)
  76. #define hwloc_obj HWLOC_NAME(obj)
  77. #define hwloc_obj_t HWLOC_NAME(obj_t)
  78. #define hwloc_info_s HWLOC_NAME(info_s)
  79. #define hwloc_obj_attr_u HWLOC_NAME(obj_attr_u)
  80. #define hwloc_numanode_attr_s HWLOC_NAME(numanode_attr_s)
  81. #define hwloc_memory_page_type_s HWLOC_NAME(memory_page_type_s)
  82. #define hwloc_cache_attr_s HWLOC_NAME(cache_attr_s)
  83. #define hwloc_group_attr_s HWLOC_NAME(group_attr_s)
  84. #define hwloc_pcidev_attr_s HWLOC_NAME(pcidev_attr_s)
  85. #define hwloc_bridge_attr_s HWLOC_NAME(bridge_attr_s)
  86. #define hwloc_osdev_attr_s HWLOC_NAME(osdev_attr_s)
  87. #define hwloc_topology_init HWLOC_NAME(topology_init)
  88. #define hwloc_topology_load HWLOC_NAME(topology_load)
  89. #define hwloc_topology_destroy HWLOC_NAME(topology_destroy)
  90. #define hwloc_topology_dup HWLOC_NAME(topology_dup)
  91. #define hwloc_topology_abi_check HWLOC_NAME(topology_abi_check)
  92. #define hwloc_topology_check HWLOC_NAME(topology_check)
  93. #define hwloc_topology_flags_e HWLOC_NAME(topology_flags_e)
  94. #define HWLOC_TOPOLOGY_FLAG_INCLUDE_DISALLOWED HWLOC_NAME_CAPS(TOPOLOGY_FLAG_WITH_DISALLOWED)
  95. #define HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM HWLOC_NAME_CAPS(TOPOLOGY_FLAG_IS_THISSYSTEM)
  96. #define HWLOC_TOPOLOGY_FLAG_THISSYSTEM_ALLOWED_RESOURCES HWLOC_NAME_CAPS(TOPOLOGY_FLAG_THISSYSTEM_ALLOWED_RESOURCES)
  97. #define HWLOC_TOPOLOGY_FLAG_IMPORT_SUPPORT HWLOC_NAME_CAPS(TOPOLOGY_FLAG_IMPORT_SUPPORT)
  98. #define HWLOC_TOPOLOGY_FLAG_RESTRICT_TO_CPUBINDING HWLOC_NAME_CAPS(TOPOLOGY_FLAG_RESTRICT_TO_CPUBINDING)
  99. #define HWLOC_TOPOLOGY_FLAG_RESTRICT_TO_MEMBINDING HWLOC_NAME_CAPS(TOPOLOGY_FLAG_RESTRICT_TO_MEMBINDING)
  100. #define HWLOC_TOPOLOGY_FLAG_DONT_CHANGE_BINDING HWLOC_NAME_CAPS(TOPOLOGY_FLAG_DONT_CHANGE_BINDING)
  101. #define HWLOC_TOPOLOGY_FLAG_NO_DISTANCES HWLOC_NAME_CAPS(TOPOLOGY_FLAG_NO_DISTANCES)
  102. #define HWLOC_TOPOLOGY_FLAG_NO_MEMATTRS HWLOC_NAME_CAPS(TOPOLOGY_FLAG_NO_MEMATTRS)
  103. #define HWLOC_TOPOLOGY_FLAG_NO_CPUKINDS HWLOC_NAME_CAPS(TOPOLOGY_FLAG_NO_CPUKINDS)
  104. #define hwloc_topology_set_pid HWLOC_NAME(topology_set_pid)
  105. #define hwloc_topology_set_synthetic HWLOC_NAME(topology_set_synthetic)
  106. #define hwloc_topology_set_xml HWLOC_NAME(topology_set_xml)
  107. #define hwloc_topology_set_xmlbuffer HWLOC_NAME(topology_set_xmlbuffer)
  108. #define hwloc_topology_components_flag_e HWLOC_NAME(hwloc_topology_components_flag_e)
  109. #define HWLOC_TOPOLOGY_COMPONENTS_FLAG_BLACKLIST HWLOC_NAME_CAPS(TOPOLOGY_COMPONENTS_FLAG_BLACKLIST)
  110. #define hwloc_topology_set_components HWLOC_NAME(topology_set_components)
  111. #define hwloc_topology_set_flags HWLOC_NAME(topology_set_flags)
  112. #define hwloc_topology_is_thissystem HWLOC_NAME(topology_is_thissystem)
  113. #define hwloc_topology_get_flags HWLOC_NAME(topology_get_flags)
  114. #define hwloc_topology_discovery_support HWLOC_NAME(topology_discovery_support)
  115. #define hwloc_topology_cpubind_support HWLOC_NAME(topology_cpubind_support)
  116. #define hwloc_topology_membind_support HWLOC_NAME(topology_membind_support)
  117. #define hwloc_topology_misc_support HWLOC_NAME(topology_misc_support)
  118. #define hwloc_topology_support HWLOC_NAME(topology_support)
  119. #define hwloc_topology_get_support HWLOC_NAME(topology_get_support)
  120. #define hwloc_type_filter_e HWLOC_NAME(type_filter_e)
  121. #define HWLOC_TYPE_FILTER_KEEP_ALL HWLOC_NAME_CAPS(TYPE_FILTER_KEEP_ALL)
  122. #define HWLOC_TYPE_FILTER_KEEP_NONE HWLOC_NAME_CAPS(TYPE_FILTER_KEEP_NONE)
  123. #define HWLOC_TYPE_FILTER_KEEP_STRUCTURE HWLOC_NAME_CAPS(TYPE_FILTER_KEEP_STRUCTURE)
  124. #define HWLOC_TYPE_FILTER_KEEP_IMPORTANT HWLOC_NAME_CAPS(TYPE_FILTER_KEEP_IMPORTANT)
  125. #define hwloc_topology_set_type_filter HWLOC_NAME(topology_set_type_filter)
  126. #define hwloc_topology_get_type_filter HWLOC_NAME(topology_get_type_filter)
  127. #define hwloc_topology_set_all_types_filter HWLOC_NAME(topology_set_all_types_filter)
  128. #define hwloc_topology_set_cache_types_filter HWLOC_NAME(topology_set_cache_types_filter)
  129. #define hwloc_topology_set_icache_types_filter HWLOC_NAME(topology_set_icache_types_filter)
  130. #define hwloc_topology_set_io_types_filter HWLOC_NAME(topology_set_io_types_filter)
  131. #define hwloc_topology_set_userdata HWLOC_NAME(topology_set_userdata)
  132. #define hwloc_topology_get_userdata HWLOC_NAME(topology_get_userdata)
  133. #define hwloc_restrict_flags_e HWLOC_NAME(restrict_flags_e)
  134. #define HWLOC_RESTRICT_FLAG_REMOVE_CPULESS HWLOC_NAME_CAPS(RESTRICT_FLAG_REMOVE_CPULESS)
  135. #define HWLOC_RESTRICT_FLAG_BYNODESET HWLOC_NAME_CAPS(RESTRICT_FLAG_BYNODESET)
  136. #define HWLOC_RESTRICT_FLAG_REMOVE_MEMLESS HWLOC_NAME_CAPS(RESTRICT_FLAG_REMOVE_MEMLESS)
  137. #define HWLOC_RESTRICT_FLAG_ADAPT_MISC HWLOC_NAME_CAPS(RESTRICT_FLAG_ADAPT_MISC)
  138. #define HWLOC_RESTRICT_FLAG_ADAPT_IO HWLOC_NAME_CAPS(RESTRICT_FLAG_ADAPT_IO)
  139. #define hwloc_topology_restrict HWLOC_NAME(topology_restrict)
  140. #define hwloc_allow_flags_e HWLOC_NAME(allow_flags_e)
  141. #define HWLOC_ALLOW_FLAG_ALL HWLOC_NAME_CAPS(ALLOW_FLAG_ALL)
  142. #define HWLOC_ALLOW_FLAG_LOCAL_RESTRICTIONS HWLOC_NAME_CAPS(ALLOW_FLAG_LOCAL_RESTRICTIONS)
  143. #define HWLOC_ALLOW_FLAG_CUSTOM HWLOC_NAME_CAPS(ALLOW_FLAG_CUSTOM)
  144. #define hwloc_topology_allow HWLOC_NAME(topology_allow)
  145. #define hwloc_topology_insert_misc_object HWLOC_NAME(topology_insert_misc_object)
  146. #define hwloc_topology_alloc_group_object HWLOC_NAME(topology_alloc_group_object)
  147. #define hwloc_topology_insert_group_object HWLOC_NAME(topology_insert_group_object)
  148. #define hwloc_obj_add_other_obj_sets HWLOC_NAME(obj_add_other_obj_sets)
  149. #define hwloc_topology_refresh HWLOC_NAME(topology_refresh)
  150. #define hwloc_topology_get_depth HWLOC_NAME(topology_get_depth)
  151. #define hwloc_get_type_depth HWLOC_NAME(get_type_depth)
  152. #define hwloc_get_memory_parents_depth HWLOC_NAME(get_memory_parents_depth)
  153. #define hwloc_get_type_depth_e HWLOC_NAME(get_type_depth_e)
  154. #define HWLOC_TYPE_DEPTH_UNKNOWN HWLOC_NAME_CAPS(TYPE_DEPTH_UNKNOWN)
  155. #define HWLOC_TYPE_DEPTH_MULTIPLE HWLOC_NAME_CAPS(TYPE_DEPTH_MULTIPLE)
  156. #define HWLOC_TYPE_DEPTH_BRIDGE HWLOC_NAME_CAPS(TYPE_DEPTH_BRIDGE)
  157. #define HWLOC_TYPE_DEPTH_PCI_DEVICE HWLOC_NAME_CAPS(TYPE_DEPTH_PCI_DEVICE)
  158. #define HWLOC_TYPE_DEPTH_OS_DEVICE HWLOC_NAME_CAPS(TYPE_DEPTH_OS_DEVICE)
  159. #define HWLOC_TYPE_DEPTH_MISC HWLOC_NAME_CAPS(TYPE_DEPTH_MISC)
  160. #define HWLOC_TYPE_DEPTH_NUMANODE HWLOC_NAME_CAPS(TYPE_DEPTH_NUMANODE)
  161. #define HWLOC_TYPE_DEPTH_MEMCACHE HWLOC_NAME_CAPS(TYPE_DEPTH_MEMCACHE)
  162. #define hwloc_get_depth_type HWLOC_NAME(get_depth_type)
  163. #define hwloc_get_nbobjs_by_depth HWLOC_NAME(get_nbobjs_by_depth)
  164. #define hwloc_get_nbobjs_by_type HWLOC_NAME(get_nbobjs_by_type)
  165. #define hwloc_get_obj_by_depth HWLOC_NAME(get_obj_by_depth )
  166. #define hwloc_get_obj_by_type HWLOC_NAME(get_obj_by_type )
  167. #define hwloc_obj_type_string HWLOC_NAME(obj_type_string )
  168. #define hwloc_obj_type_snprintf HWLOC_NAME(obj_type_snprintf )
  169. #define hwloc_obj_attr_snprintf HWLOC_NAME(obj_attr_snprintf )
  170. #define hwloc_type_sscanf HWLOC_NAME(type_sscanf)
  171. #define hwloc_type_sscanf_as_depth HWLOC_NAME(type_sscanf_as_depth)
  172. #define hwloc_obj_get_info_by_name HWLOC_NAME(obj_get_info_by_name)
  173. #define hwloc_obj_add_info HWLOC_NAME(obj_add_info)
  174. #define HWLOC_CPUBIND_PROCESS HWLOC_NAME_CAPS(CPUBIND_PROCESS)
  175. #define HWLOC_CPUBIND_THREAD HWLOC_NAME_CAPS(CPUBIND_THREAD)
  176. #define HWLOC_CPUBIND_STRICT HWLOC_NAME_CAPS(CPUBIND_STRICT)
  177. #define HWLOC_CPUBIND_NOMEMBIND HWLOC_NAME_CAPS(CPUBIND_NOMEMBIND)
  178. #define hwloc_cpubind_flags_t HWLOC_NAME(cpubind_flags_t)
  179. #define hwloc_set_cpubind HWLOC_NAME(set_cpubind)
  180. #define hwloc_get_cpubind HWLOC_NAME(get_cpubind)
  181. #define hwloc_set_proc_cpubind HWLOC_NAME(set_proc_cpubind)
  182. #define hwloc_get_proc_cpubind HWLOC_NAME(get_proc_cpubind)
  183. #define hwloc_set_thread_cpubind HWLOC_NAME(set_thread_cpubind)
  184. #define hwloc_get_thread_cpubind HWLOC_NAME(get_thread_cpubind)
  185. #define hwloc_get_last_cpu_location HWLOC_NAME(get_last_cpu_location)
  186. #define hwloc_get_proc_last_cpu_location HWLOC_NAME(get_proc_last_cpu_location)
  187. #define HWLOC_MEMBIND_DEFAULT HWLOC_NAME_CAPS(MEMBIND_DEFAULT)
  188. #define HWLOC_MEMBIND_FIRSTTOUCH HWLOC_NAME_CAPS(MEMBIND_FIRSTTOUCH)
  189. #define HWLOC_MEMBIND_BIND HWLOC_NAME_CAPS(MEMBIND_BIND)
  190. #define HWLOC_MEMBIND_INTERLEAVE HWLOC_NAME_CAPS(MEMBIND_INTERLEAVE)
  191. #define HWLOC_MEMBIND_NEXTTOUCH HWLOC_NAME_CAPS(MEMBIND_NEXTTOUCH)
  192. #define HWLOC_MEMBIND_MIXED HWLOC_NAME_CAPS(MEMBIND_MIXED)
  193. #define hwloc_membind_policy_t HWLOC_NAME(membind_policy_t)
  194. #define HWLOC_MEMBIND_PROCESS HWLOC_NAME_CAPS(MEMBIND_PROCESS)
  195. #define HWLOC_MEMBIND_THREAD HWLOC_NAME_CAPS(MEMBIND_THREAD)
  196. #define HWLOC_MEMBIND_STRICT HWLOC_NAME_CAPS(MEMBIND_STRICT)
  197. #define HWLOC_MEMBIND_MIGRATE HWLOC_NAME_CAPS(MEMBIND_MIGRATE)
  198. #define HWLOC_MEMBIND_NOCPUBIND HWLOC_NAME_CAPS(MEMBIND_NOCPUBIND)
  199. #define HWLOC_MEMBIND_BYNODESET HWLOC_NAME_CAPS(MEMBIND_BYNODESET)
  200. #define hwloc_membind_flags_t HWLOC_NAME(membind_flags_t)
  201. #define hwloc_set_membind HWLOC_NAME(set_membind)
  202. #define hwloc_get_membind HWLOC_NAME(get_membind)
  203. #define hwloc_set_proc_membind HWLOC_NAME(set_proc_membind)
  204. #define hwloc_get_proc_membind HWLOC_NAME(get_proc_membind)
  205. #define hwloc_set_area_membind HWLOC_NAME(set_area_membind)
  206. #define hwloc_get_area_membind HWLOC_NAME(get_area_membind)
  207. #define hwloc_get_area_memlocation HWLOC_NAME(get_area_memlocation)
  208. #define hwloc_alloc_membind HWLOC_NAME(alloc_membind)
  209. #define hwloc_alloc HWLOC_NAME(alloc)
  210. #define hwloc_free HWLOC_NAME(free)
  211. #define hwloc_get_non_io_ancestor_obj HWLOC_NAME(get_non_io_ancestor_obj)
  212. #define hwloc_get_next_pcidev HWLOC_NAME(get_next_pcidev)
  213. #define hwloc_get_pcidev_by_busid HWLOC_NAME(get_pcidev_by_busid)
  214. #define hwloc_get_pcidev_by_busidstring HWLOC_NAME(get_pcidev_by_busidstring)
  215. #define hwloc_get_next_osdev HWLOC_NAME(get_next_osdev)
  216. #define hwloc_get_next_bridge HWLOC_NAME(get_next_bridge)
  217. #define hwloc_bridge_covers_pcibus HWLOC_NAME(bridge_covers_pcibus)
  218. /* hwloc/bitmap.h */
  219. #define hwloc_bitmap_s HWLOC_NAME(bitmap_s)
  220. #define hwloc_bitmap_t HWLOC_NAME(bitmap_t)
  221. #define hwloc_const_bitmap_t HWLOC_NAME(const_bitmap_t)
  222. #define hwloc_bitmap_alloc HWLOC_NAME(bitmap_alloc)
  223. #define hwloc_bitmap_alloc_full HWLOC_NAME(bitmap_alloc_full)
  224. #define hwloc_bitmap_free HWLOC_NAME(bitmap_free)
  225. #define hwloc_bitmap_dup HWLOC_NAME(bitmap_dup)
  226. #define hwloc_bitmap_copy HWLOC_NAME(bitmap_copy)
  227. #define hwloc_bitmap_snprintf HWLOC_NAME(bitmap_snprintf)
  228. #define hwloc_bitmap_asprintf HWLOC_NAME(bitmap_asprintf)
  229. #define hwloc_bitmap_sscanf HWLOC_NAME(bitmap_sscanf)
  230. #define hwloc_bitmap_list_snprintf HWLOC_NAME(bitmap_list_snprintf)
  231. #define hwloc_bitmap_list_asprintf HWLOC_NAME(bitmap_list_asprintf)
  232. #define hwloc_bitmap_list_sscanf HWLOC_NAME(bitmap_list_sscanf)
  233. #define hwloc_bitmap_taskset_snprintf HWLOC_NAME(bitmap_taskset_snprintf)
  234. #define hwloc_bitmap_taskset_asprintf HWLOC_NAME(bitmap_taskset_asprintf)
  235. #define hwloc_bitmap_taskset_sscanf HWLOC_NAME(bitmap_taskset_sscanf)
  236. #define hwloc_bitmap_zero HWLOC_NAME(bitmap_zero)
  237. #define hwloc_bitmap_fill HWLOC_NAME(bitmap_fill)
  238. #define hwloc_bitmap_from_ulong HWLOC_NAME(bitmap_from_ulong)
  239. #define hwloc_bitmap_from_ulongs HWLOC_NAME(bitmap_from_ulongs)
  240. #define hwloc_bitmap_from_ith_ulong HWLOC_NAME(bitmap_from_ith_ulong)
  241. #define hwloc_bitmap_to_ulong HWLOC_NAME(bitmap_to_ulong)
  242. #define hwloc_bitmap_to_ith_ulong HWLOC_NAME(bitmap_to_ith_ulong)
  243. #define hwloc_bitmap_to_ulongs HWLOC_NAME(bitmap_to_ulongs)
  244. #define hwloc_bitmap_nr_ulongs HWLOC_NAME(bitmap_nr_ulongs)
  245. #define hwloc_bitmap_only HWLOC_NAME(bitmap_only)
  246. #define hwloc_bitmap_allbut HWLOC_NAME(bitmap_allbut)
  247. #define hwloc_bitmap_set HWLOC_NAME(bitmap_set)
  248. #define hwloc_bitmap_set_range HWLOC_NAME(bitmap_set_range)
  249. #define hwloc_bitmap_set_ith_ulong HWLOC_NAME(bitmap_set_ith_ulong)
  250. #define hwloc_bitmap_clr HWLOC_NAME(bitmap_clr)
  251. #define hwloc_bitmap_clr_range HWLOC_NAME(bitmap_clr_range)
  252. #define hwloc_bitmap_isset HWLOC_NAME(bitmap_isset)
  253. #define hwloc_bitmap_iszero HWLOC_NAME(bitmap_iszero)
  254. #define hwloc_bitmap_isfull HWLOC_NAME(bitmap_isfull)
  255. #define hwloc_bitmap_isequal HWLOC_NAME(bitmap_isequal)
  256. #define hwloc_bitmap_intersects HWLOC_NAME(bitmap_intersects)
  257. #define hwloc_bitmap_isincluded HWLOC_NAME(bitmap_isincluded)
  258. #define hwloc_bitmap_or HWLOC_NAME(bitmap_or)
  259. #define hwloc_bitmap_and HWLOC_NAME(bitmap_and)
  260. #define hwloc_bitmap_andnot HWLOC_NAME(bitmap_andnot)
  261. #define hwloc_bitmap_xor HWLOC_NAME(bitmap_xor)
  262. #define hwloc_bitmap_not HWLOC_NAME(bitmap_not)
  263. #define hwloc_bitmap_first HWLOC_NAME(bitmap_first)
  264. #define hwloc_bitmap_last HWLOC_NAME(bitmap_last)
  265. #define hwloc_bitmap_next HWLOC_NAME(bitmap_next)
  266. #define hwloc_bitmap_first_unset HWLOC_NAME(bitmap_first_unset)
  267. #define hwloc_bitmap_last_unset HWLOC_NAME(bitmap_last_unset)
  268. #define hwloc_bitmap_next_unset HWLOC_NAME(bitmap_next_unset)
  269. #define hwloc_bitmap_singlify HWLOC_NAME(bitmap_singlify)
  270. #define hwloc_bitmap_compare_first HWLOC_NAME(bitmap_compare_first)
  271. #define hwloc_bitmap_compare HWLOC_NAME(bitmap_compare)
  272. #define hwloc_bitmap_weight HWLOC_NAME(bitmap_weight)
  273. /* hwloc/helper.h */
  274. #define hwloc_get_type_or_below_depth HWLOC_NAME(get_type_or_below_depth)
  275. #define hwloc_get_type_or_above_depth HWLOC_NAME(get_type_or_above_depth)
  276. #define hwloc_get_root_obj HWLOC_NAME(get_root_obj)
  277. #define hwloc_get_ancestor_obj_by_depth HWLOC_NAME(get_ancestor_obj_by_depth)
  278. #define hwloc_get_ancestor_obj_by_type HWLOC_NAME(get_ancestor_obj_by_type)
  279. #define hwloc_get_next_obj_by_depth HWLOC_NAME(get_next_obj_by_depth)
  280. #define hwloc_get_next_obj_by_type HWLOC_NAME(get_next_obj_by_type)
  281. #define hwloc_bitmap_singlify_per_core HWLOC_NAME(bitmap_singlify_by_core)
  282. #define hwloc_get_pu_obj_by_os_index HWLOC_NAME(get_pu_obj_by_os_index)
  283. #define hwloc_get_numanode_obj_by_os_index HWLOC_NAME(get_numanode_obj_by_os_index)
  284. #define hwloc_get_next_child HWLOC_NAME(get_next_child)
  285. #define hwloc_get_common_ancestor_obj HWLOC_NAME(get_common_ancestor_obj)
  286. #define hwloc_obj_is_in_subtree HWLOC_NAME(obj_is_in_subtree)
  287. #define hwloc_get_first_largest_obj_inside_cpuset HWLOC_NAME(get_first_largest_obj_inside_cpuset)
  288. #define hwloc_get_largest_objs_inside_cpuset HWLOC_NAME(get_largest_objs_inside_cpuset)
  289. #define hwloc_get_next_obj_inside_cpuset_by_depth HWLOC_NAME(get_next_obj_inside_cpuset_by_depth)
  290. #define hwloc_get_next_obj_inside_cpuset_by_type HWLOC_NAME(get_next_obj_inside_cpuset_by_type)
  291. #define hwloc_get_obj_inside_cpuset_by_depth HWLOC_NAME(get_obj_inside_cpuset_by_depth)
  292. #define hwloc_get_obj_inside_cpuset_by_type HWLOC_NAME(get_obj_inside_cpuset_by_type)
  293. #define hwloc_get_nbobjs_inside_cpuset_by_depth HWLOC_NAME(get_nbobjs_inside_cpuset_by_depth)
  294. #define hwloc_get_nbobjs_inside_cpuset_by_type HWLOC_NAME(get_nbobjs_inside_cpuset_by_type)
  295. #define hwloc_get_obj_index_inside_cpuset HWLOC_NAME(get_obj_index_inside_cpuset)
  296. #define hwloc_get_child_covering_cpuset HWLOC_NAME(get_child_covering_cpuset)
  297. #define hwloc_get_obj_covering_cpuset HWLOC_NAME(get_obj_covering_cpuset)
  298. #define hwloc_get_next_obj_covering_cpuset_by_depth HWLOC_NAME(get_next_obj_covering_cpuset_by_depth)
  299. #define hwloc_get_next_obj_covering_cpuset_by_type HWLOC_NAME(get_next_obj_covering_cpuset_by_type)
  300. #define hwloc_obj_type_is_normal HWLOC_NAME(obj_type_is_normal)
  301. #define hwloc_obj_type_is_memory HWLOC_NAME(obj_type_is_memory)
  302. #define hwloc_obj_type_is_io HWLOC_NAME(obj_type_is_io)
  303. #define hwloc_obj_type_is_cache HWLOC_NAME(obj_type_is_cache)
  304. #define hwloc_obj_type_is_dcache HWLOC_NAME(obj_type_is_dcache)
  305. #define hwloc_obj_type_is_icache HWLOC_NAME(obj_type_is_icache)
  306. #define hwloc_get_cache_type_depth HWLOC_NAME(get_cache_type_depth)
  307. #define hwloc_get_cache_covering_cpuset HWLOC_NAME(get_cache_covering_cpuset)
  308. #define hwloc_get_shared_cache_covering_obj HWLOC_NAME(get_shared_cache_covering_obj)
  309. #define hwloc_get_closest_objs HWLOC_NAME(get_closest_objs)
  310. #define hwloc_get_obj_below_by_type HWLOC_NAME(get_obj_below_by_type)
  311. #define hwloc_get_obj_below_array_by_type HWLOC_NAME(get_obj_below_array_by_type)
  312. #define hwloc_get_obj_with_same_locality HWLOC_NAME(get_obj_with_same_locality)
  313. #define hwloc_distrib_flags_e HWLOC_NAME(distrib_flags_e)
  314. #define HWLOC_DISTRIB_FLAG_REVERSE HWLOC_NAME_CAPS(DISTRIB_FLAG_REVERSE)
  315. #define hwloc_distrib HWLOC_NAME(distrib)
  316. #define hwloc_alloc_membind_policy HWLOC_NAME(alloc_membind_policy)
  317. #define hwloc_alloc_membind_policy_nodeset HWLOC_NAME(alloc_membind_policy_nodeset)
  318. #define hwloc_topology_get_complete_cpuset HWLOC_NAME(topology_get_complete_cpuset)
  319. #define hwloc_topology_get_topology_cpuset HWLOC_NAME(topology_get_topology_cpuset)
  320. #define hwloc_topology_get_allowed_cpuset HWLOC_NAME(topology_get_allowed_cpuset)
  321. #define hwloc_topology_get_complete_nodeset HWLOC_NAME(topology_get_complete_nodeset)
  322. #define hwloc_topology_get_topology_nodeset HWLOC_NAME(topology_get_topology_nodeset)
  323. #define hwloc_topology_get_allowed_nodeset HWLOC_NAME(topology_get_allowed_nodeset)
  324. #define hwloc_cpuset_to_nodeset HWLOC_NAME(cpuset_to_nodeset)
  325. #define hwloc_cpuset_from_nodeset HWLOC_NAME(cpuset_from_nodeset)
  326. /* memattrs.h */
  327. #define hwloc_memattr_id_e HWLOC_NAME(memattr_id_e)
  328. #define HWLOC_MEMATTR_ID_CAPACITY HWLOC_NAME_CAPS(MEMATTR_ID_CAPACITY)
  329. #define HWLOC_MEMATTR_ID_LOCALITY HWLOC_NAME_CAPS(MEMATTR_ID_LOCALITY)
  330. #define HWLOC_MEMATTR_ID_BANDWIDTH HWLOC_NAME_CAPS(MEMATTR_ID_BANDWIDTH)
  331. #define HWLOC_MEMATTR_ID_LATENCY HWLOC_NAME_CAPS(MEMATTR_ID_LATENCY)
  332. #define HWLOC_MEMATTR_ID_READ_BANDWIDTH HWLOC_NAME_CAPS(MEMATTR_ID_READ_BANDWIDTH)
  333. #define HWLOC_MEMATTR_ID_WRITE_BANDWIDTH HWLOC_NAME_CAPS(MEMATTR_ID_WRITE_BANDWIDTH)
  334. #define HWLOC_MEMATTR_ID_READ_LATENCY HWLOC_NAME_CAPS(MEMATTR_ID_READ_LATENCY)
  335. #define HWLOC_MEMATTR_ID_WRITE_LATENCY HWLOC_NAME_CAPS(MEMATTR_ID_WRITE_LATENCY)
  336. #define HWLOC_MEMATTR_ID_MAX HWLOC_NAME_CAPS(MEMATTR_ID_MAX)
  337. #define hwloc_memattr_id_t HWLOC_NAME(memattr_id_t)
  338. #define hwloc_memattr_get_by_name HWLOC_NAME(memattr_get_by_name)
  339. #define hwloc_location HWLOC_NAME(location)
  340. #define hwloc_location_type_e HWLOC_NAME(location_type_e)
  341. #define HWLOC_LOCATION_TYPE_OBJECT HWLOC_NAME_CAPS(LOCATION_TYPE_OBJECT)
  342. #define HWLOC_LOCATION_TYPE_CPUSET HWLOC_NAME_CAPS(LOCATION_TYPE_CPUSET)
  343. #define hwloc_location_u HWLOC_NAME(location_u)
  344. #define hwloc_memattr_get_value HWLOC_NAME(memattr_get_value)
  345. #define hwloc_memattr_get_best_target HWLOC_NAME(memattr_get_best_target)
  346. #define hwloc_memattr_get_best_initiator HWLOC_NAME(memattr_get_best_initiator)
  347. #define hwloc_local_numanode_flag_e HWLOC_NAME(local_numanode_flag_e)
  348. #define HWLOC_LOCAL_NUMANODE_FLAG_LARGER_LOCALITY HWLOC_NAME_CAPS(LOCAL_NUMANODE_FLAG_LARGER_LOCALITY)
  349. #define HWLOC_LOCAL_NUMANODE_FLAG_SMALLER_LOCALITY HWLOC_NAME_CAPS(LOCAL_NUMANODE_FLAG_SMALLER_LOCALITY)
  350. #define HWLOC_LOCAL_NUMANODE_FLAG_ALL HWLOC_NAME_CAPS(LOCAL_NUMANODE_FLAG_ALL)
  351. #define hwloc_get_local_numanode_objs HWLOC_NAME(get_local_numanode_objs)
  352. #define hwloc_memattr_get_name HWLOC_NAME(memattr_get_name)
  353. #define hwloc_memattr_get_flags HWLOC_NAME(memattr_get_flags)
  354. #define hwloc_memattr_flag_e HWLOC_NAME(memattr_flag_e)
  355. #define HWLOC_MEMATTR_FLAG_HIGHER_FIRST HWLOC_NAME_CAPS(MEMATTR_FLAG_HIGHER_FIRST)
  356. #define HWLOC_MEMATTR_FLAG_LOWER_FIRST HWLOC_NAME_CAPS(MEMATTR_FLAG_LOWER_FIRST)
  357. #define HWLOC_MEMATTR_FLAG_NEED_INITIATOR HWLOC_NAME_CAPS(MEMATTR_FLAG_NEED_INITIATOR)
  358. #define hwloc_memattr_register HWLOC_NAME(memattr_register)
  359. #define hwloc_memattr_set_value HWLOC_NAME(memattr_set_value)
  360. #define hwloc_memattr_get_targets HWLOC_NAME(memattr_get_targets)
  361. #define hwloc_memattr_get_initiators HWLOC_NAME(memattr_get_initiators)
  362. /* cpukinds.h */
  363. #define hwloc_cpukinds_get_nr HWLOC_NAME(cpukinds_get_nr)
  364. #define hwloc_cpukinds_get_by_cpuset HWLOC_NAME(cpukinds_get_by_cpuset)
  365. #define hwloc_cpukinds_get_info HWLOC_NAME(cpukinds_get_info)
  366. #define hwloc_cpukinds_register HWLOC_NAME(cpukinds_register)
  367. /* export.h */
  368. #define hwloc_topology_export_xml_flags_e HWLOC_NAME(topology_export_xml_flags_e)
  369. #define HWLOC_TOPOLOGY_EXPORT_XML_FLAG_V1 HWLOC_NAME_CAPS(TOPOLOGY_EXPORT_XML_FLAG_V1)
  370. #define hwloc_topology_export_xml HWLOC_NAME(topology_export_xml)
  371. #define hwloc_topology_export_xmlbuffer HWLOC_NAME(topology_export_xmlbuffer)
  372. #define hwloc_free_xmlbuffer HWLOC_NAME(free_xmlbuffer)
  373. #define hwloc_topology_set_userdata_export_callback HWLOC_NAME(topology_set_userdata_export_callback)
  374. #define hwloc_export_obj_userdata HWLOC_NAME(export_obj_userdata)
  375. #define hwloc_export_obj_userdata_base64 HWLOC_NAME(export_obj_userdata_base64)
  376. #define hwloc_topology_set_userdata_import_callback HWLOC_NAME(topology_set_userdata_import_callback)
  377. #define hwloc_topology_export_synthetic_flags_e HWLOC_NAME(topology_export_synthetic_flags_e)
  378. #define HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_EXTENDED_TYPES HWLOC_NAME_CAPS(TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_EXTENDED_TYPES)
  379. #define HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_ATTRS HWLOC_NAME_CAPS(TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_ATTRS)
  380. #define HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_V1 HWLOC_NAME_CAPS(TOPOLOGY_EXPORT_SYNTHETIC_FLAG_V1)
  381. #define HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_IGNORE_MEMORY HWLOC_NAME_CAPS(TOPOLOGY_EXPORT_SYNTHETIC_FLAG_IGNORE_MEMORY)
  382. #define hwloc_topology_export_synthetic HWLOC_NAME(topology_export_synthetic)
  383. /* distances.h */
  384. #define hwloc_distances_s HWLOC_NAME(distances_s)
  385. #define hwloc_distances_kind_e HWLOC_NAME(distances_kind_e)
  386. #define HWLOC_DISTANCES_KIND_FROM_OS HWLOC_NAME_CAPS(DISTANCES_KIND_FROM_OS)
  387. #define HWLOC_DISTANCES_KIND_FROM_USER HWLOC_NAME_CAPS(DISTANCES_KIND_FROM_USER)
  388. #define HWLOC_DISTANCES_KIND_MEANS_LATENCY HWLOC_NAME_CAPS(DISTANCES_KIND_MEANS_LATENCY)
  389. #define HWLOC_DISTANCES_KIND_MEANS_BANDWIDTH HWLOC_NAME_CAPS(DISTANCES_KIND_MEANS_BANDWIDTH)
  390. #define HWLOC_DISTANCES_KIND_HETEROGENEOUS_TYPES HWLOC_NAME_CAPS(DISTANCES_KIND_HETEROGENEOUS_TYPES)
  391. #define hwloc_distances_get HWLOC_NAME(distances_get)
  392. #define hwloc_distances_get_by_depth HWLOC_NAME(distances_get_by_depth)
  393. #define hwloc_distances_get_by_type HWLOC_NAME(distances_get_by_type)
  394. #define hwloc_distances_get_by_name HWLOC_NAME(distances_get_by_name)
  395. #define hwloc_distances_get_name HWLOC_NAME(distances_get_name)
  396. #define hwloc_distances_release HWLOC_NAME(distances_release)
  397. #define hwloc_distances_obj_index HWLOC_NAME(distances_obj_index)
  398. #define hwloc_distances_obj_pair_values HWLOC_NAME(distances_pair_values)
  399. #define hwloc_distances_transform_e HWLOC_NAME(distances_transform_e)
  400. #define HWLOC_DISTANCES_TRANSFORM_REMOVE_NULL HWLOC_NAME_CAPS(DISTANCES_TRANSFORM_REMOVE_NULL)
  401. #define HWLOC_DISTANCES_TRANSFORM_LINKS HWLOC_NAME_CAPS(DISTANCES_TRANSFORM_LINKS)
  402. #define HWLOC_DISTANCES_TRANSFORM_MERGE_SWITCH_PORTS HWLOC_NAME_CAPS(DISTANCES_TRANSFORM_MERGE_SWITCH_PORTS)
  403. #define HWLOC_DISTANCES_TRANSFORM_TRANSITIVE_CLOSURE HWLOC_NAME_CAPS(DISTANCES_TRANSFORM_TRANSITIVE_CLOSURE)
  404. #define hwloc_distances_transform HWLOC_NAME(distances_transform)
  405. #define hwloc_distances_add_flag_e HWLOC_NAME(distances_add_flag_e)
  406. #define HWLOC_DISTANCES_ADD_FLAG_GROUP HWLOC_NAME_CAPS(DISTANCES_ADD_FLAG_GROUP)
  407. #define HWLOC_DISTANCES_ADD_FLAG_GROUP_INACCURATE HWLOC_NAME_CAPS(DISTANCES_ADD_FLAG_GROUP_INACCURATE)
  408. #define hwloc_distances_add_handle_t HWLOC_NAME(distances_add_handle_t)
  409. #define hwloc_distances_add_create HWLOC_NAME(distances_add_create)
  410. #define hwloc_distances_add_values HWLOC_NAME(distances_add_values)
  411. #define hwloc_distances_add_commit HWLOC_NAME(distances_add_commit)
  412. #define hwloc_distances_remove HWLOC_NAME(distances_remove)
  413. #define hwloc_distances_remove_by_depth HWLOC_NAME(distances_remove_by_depth)
  414. #define hwloc_distances_remove_by_type HWLOC_NAME(distances_remove_by_type)
  415. #define hwloc_distances_release_remove HWLOC_NAME(distances_release_remove)
  416. /* diff.h */
  417. #define hwloc_topology_diff_obj_attr_type_e HWLOC_NAME(topology_diff_obj_attr_type_e)
  418. #define hwloc_topology_diff_obj_attr_type_t HWLOC_NAME(topology_diff_obj_attr_type_t)
  419. #define HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_SIZE HWLOC_NAME_CAPS(TOPOLOGY_DIFF_OBJ_ATTR_SIZE)
  420. #define HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_NAME HWLOC_NAME_CAPS(TOPOLOGY_DIFF_OBJ_ATTR_NAME)
  421. #define HWLOC_TOPOLOGY_DIFF_OBJ_ATTR_INFO HWLOC_NAME_CAPS(TOPOLOGY_DIFF_OBJ_ATTR_INFO)
  422. #define hwloc_topology_diff_obj_attr_u HWLOC_NAME(topology_diff_obj_attr_u)
  423. #define hwloc_topology_diff_obj_attr_generic_s HWLOC_NAME(topology_diff_obj_attr_generic_s)
  424. #define hwloc_topology_diff_obj_attr_uint64_s HWLOC_NAME(topology_diff_obj_attr_uint64_s)
  425. #define hwloc_topology_diff_obj_attr_string_s HWLOC_NAME(topology_diff_obj_attr_string_s)
  426. #define hwloc_topology_diff_type_e HWLOC_NAME(topology_diff_type_e)
  427. #define hwloc_topology_diff_type_t HWLOC_NAME(topology_diff_type_t)
  428. #define HWLOC_TOPOLOGY_DIFF_OBJ_ATTR HWLOC_NAME_CAPS(TOPOLOGY_DIFF_OBJ_ATTR)
  429. #define HWLOC_TOPOLOGY_DIFF_TOO_COMPLEX HWLOC_NAME_CAPS(TOPOLOGY_DIFF_TOO_COMPLEX)
  430. #define hwloc_topology_diff_u HWLOC_NAME(topology_diff_u)
  431. #define hwloc_topology_diff_t HWLOC_NAME(topology_diff_t)
  432. #define hwloc_topology_diff_generic_s HWLOC_NAME(topology_diff_generic_s)
  433. #define hwloc_topology_diff_obj_attr_s HWLOC_NAME(topology_diff_obj_attr_s)
  434. #define hwloc_topology_diff_too_complex_s HWLOC_NAME(topology_diff_too_complex_s)
  435. #define hwloc_topology_diff_build HWLOC_NAME(topology_diff_build)
  436. #define hwloc_topology_diff_apply_flags_e HWLOC_NAME(topology_diff_apply_flags_e)
  437. #define HWLOC_TOPOLOGY_DIFF_APPLY_REVERSE HWLOC_NAME_CAPS(TOPOLOGY_DIFF_APPLY_REVERSE)
  438. #define hwloc_topology_diff_apply HWLOC_NAME(topology_diff_apply)
  439. #define hwloc_topology_diff_destroy HWLOC_NAME(topology_diff_destroy)
  440. #define hwloc_topology_diff_load_xml HWLOC_NAME(topology_diff_load_xml)
  441. #define hwloc_topology_diff_export_xml HWLOC_NAME(topology_diff_export_xml)
  442. #define hwloc_topology_diff_load_xmlbuffer HWLOC_NAME(topology_diff_load_xmlbuffer)
  443. #define hwloc_topology_diff_export_xmlbuffer HWLOC_NAME(topology_diff_export_xmlbuffer)
  444. /* shmem.h */
  445. #define hwloc_shmem_topology_get_length HWLOC_NAME(shmem_topology_get_length)
  446. #define hwloc_shmem_topology_write HWLOC_NAME(shmem_topology_write)
  447. #define hwloc_shmem_topology_adopt HWLOC_NAME(shmem_topology_adopt)
  448. /* glibc-sched.h */
  449. #define hwloc_cpuset_to_glibc_sched_affinity HWLOC_NAME(cpuset_to_glibc_sched_affinity)
  450. #define hwloc_cpuset_from_glibc_sched_affinity HWLOC_NAME(cpuset_from_glibc_sched_affinity)
  451. /* linux-libnuma.h */
  452. #define hwloc_cpuset_to_linux_libnuma_ulongs HWLOC_NAME(cpuset_to_linux_libnuma_ulongs)
  453. #define hwloc_nodeset_to_linux_libnuma_ulongs HWLOC_NAME(nodeset_to_linux_libnuma_ulongs)
  454. #define hwloc_cpuset_from_linux_libnuma_ulongs HWLOC_NAME(cpuset_from_linux_libnuma_ulongs)
  455. #define hwloc_nodeset_from_linux_libnuma_ulongs HWLOC_NAME(nodeset_from_linux_libnuma_ulongs)
  456. #define hwloc_cpuset_to_linux_libnuma_bitmask HWLOC_NAME(cpuset_to_linux_libnuma_bitmask)
  457. #define hwloc_nodeset_to_linux_libnuma_bitmask HWLOC_NAME(nodeset_to_linux_libnuma_bitmask)
  458. #define hwloc_cpuset_from_linux_libnuma_bitmask HWLOC_NAME(cpuset_from_linux_libnuma_bitmask)
  459. #define hwloc_nodeset_from_linux_libnuma_bitmask HWLOC_NAME(nodeset_from_linux_libnuma_bitmask)
  460. /* linux.h */
  461. #define hwloc_linux_set_tid_cpubind HWLOC_NAME(linux_set_tid_cpubind)
  462. #define hwloc_linux_get_tid_cpubind HWLOC_NAME(linux_get_tid_cpubind)
  463. #define hwloc_linux_get_tid_last_cpu_location HWLOC_NAME(linux_get_tid_last_cpu_location)
  464. #define hwloc_linux_read_path_as_cpumask HWLOC_NAME(linux_read_file_cpumask)
  465. /* windows.h */
  466. #define hwloc_windows_get_nr_processor_groups HWLOC_NAME(windows_get_nr_processor_groups)
  467. #define hwloc_windows_get_processor_group_cpuset HWLOC_NAME(windows_get_processor_group_cpuset)
  468. /* openfabrics-verbs.h */
  469. #define hwloc_ibv_get_device_cpuset HWLOC_NAME(ibv_get_device_cpuset)
  470. #define hwloc_ibv_get_device_osdev HWLOC_NAME(ibv_get_device_osdev)
  471. #define hwloc_ibv_get_device_osdev_by_name HWLOC_NAME(ibv_get_device_osdev_by_name)
  472. /* opencl.h */
  473. #define hwloc_cl_device_topology_amd HWLOC_NAME(cl_device_topology_amd)
  474. #define hwloc_opencl_get_device_pci_busid HWLOC_NAME(opencl_get_device_pci_ids)
  475. #define hwloc_opencl_get_device_cpuset HWLOC_NAME(opencl_get_device_cpuset)
  476. #define hwloc_opencl_get_device_osdev HWLOC_NAME(opencl_get_device_osdev)
  477. #define hwloc_opencl_get_device_osdev_by_index HWLOC_NAME(opencl_get_device_osdev_by_index)
  478. /* cuda.h */
  479. #define hwloc_cuda_get_device_pci_ids HWLOC_NAME(cuda_get_device_pci_ids)
  480. #define hwloc_cuda_get_device_cpuset HWLOC_NAME(cuda_get_device_cpuset)
  481. #define hwloc_cuda_get_device_pcidev HWLOC_NAME(cuda_get_device_pcidev)
  482. #define hwloc_cuda_get_device_osdev HWLOC_NAME(cuda_get_device_osdev)
  483. #define hwloc_cuda_get_device_osdev_by_index HWLOC_NAME(cuda_get_device_osdev_by_index)
  484. /* cudart.h */
  485. #define hwloc_cudart_get_device_pci_ids HWLOC_NAME(cudart_get_device_pci_ids)
  486. #define hwloc_cudart_get_device_cpuset HWLOC_NAME(cudart_get_device_cpuset)
  487. #define hwloc_cudart_get_device_pcidev HWLOC_NAME(cudart_get_device_pcidev)
  488. #define hwloc_cudart_get_device_osdev_by_index HWLOC_NAME(cudart_get_device_osdev_by_index)
  489. /* nvml.h */
  490. #define hwloc_nvml_get_device_cpuset HWLOC_NAME(nvml_get_device_cpuset)
  491. #define hwloc_nvml_get_device_osdev HWLOC_NAME(nvml_get_device_osdev)
  492. #define hwloc_nvml_get_device_osdev_by_index HWLOC_NAME(nvml_get_device_osdev_by_index)
  493. /* rsmi.h */
  494. #define hwloc_rsmi_get_device_cpuset HWLOC_NAME(rsmi_get_device_cpuset)
  495. #define hwloc_rsmi_get_device_osdev HWLOC_NAME(rsmi_get_device_osdev)
  496. #define hwloc_rsmi_get_device_osdev_by_index HWLOC_NAME(rsmi_get_device_osdev_by_index)
  497. /* levelzero.h */
  498. #define hwloc_levelzero_get_device_cpuset HWLOC_NAME(levelzero_get_device_cpuset)
  499. #define hwloc_levelzero_get_device_osdev HWLOC_NAME(levelzero_get_device_osdev)
  500. /* gl.h */
  501. #define hwloc_gl_get_display_osdev_by_port_device HWLOC_NAME(gl_get_display_osdev_by_port_device)
  502. #define hwloc_gl_get_display_osdev_by_name HWLOC_NAME(gl_get_display_osdev_by_name)
  503. #define hwloc_gl_get_display_by_osdev HWLOC_NAME(gl_get_display_by_osdev)
  504. /* hwloc/plugins.h */
  505. #define hwloc_disc_phase_e HWLOC_NAME(disc_phase_e)
  506. #define HWLOC_DISC_PHASE_GLOBAL HWLOC_NAME_CAPS(DISC_PHASE_GLOBAL)
  507. #define HWLOC_DISC_PHASE_CPU HWLOC_NAME_CAPS(DISC_PHASE_CPU)
  508. #define HWLOC_DISC_PHASE_MEMORY HWLOC_NAME_CAPS(DISC_PHASE_MEMORY)
  509. #define HWLOC_DISC_PHASE_PCI HWLOC_NAME_CAPS(DISC_PHASE_PCI)
  510. #define HWLOC_DISC_PHASE_IO HWLOC_NAME_CAPS(DISC_PHASE_IO)
  511. #define HWLOC_DISC_PHASE_MISC HWLOC_NAME_CAPS(DISC_PHASE_MISC)
  512. #define HWLOC_DISC_PHASE_ANNOTATE HWLOC_NAME_CAPS(DISC_PHASE_ANNOTATE)
  513. #define HWLOC_DISC_PHASE_TWEAK HWLOC_NAME_CAPS(DISC_PHASE_TWEAK)
  514. #define hwloc_disc_phase_t HWLOC_NAME(disc_phase_t)
  515. #define hwloc_disc_component HWLOC_NAME(disc_component)
  516. #define hwloc_disc_status_flag_e HWLOC_NAME(disc_status_flag_e)
  517. #define HWLOC_DISC_STATUS_FLAG_GOT_ALLOWED_RESOURCES HWLOC_NAME_CAPS(DISC_STATUS_FLAG_GOT_ALLOWED_RESOURCES)
  518. #define hwloc_disc_status HWLOC_NAME(disc_status)
  519. #define hwloc_backend HWLOC_NAME(backend)
  520. #define hwloc_backend_alloc HWLOC_NAME(backend_alloc)
  521. #define hwloc_backend_enable HWLOC_NAME(backend_enable)
  522. #define hwloc_component_type_e HWLOC_NAME(component_type_e)
  523. #define HWLOC_COMPONENT_TYPE_DISC HWLOC_NAME_CAPS(COMPONENT_TYPE_DISC)
  524. #define HWLOC_COMPONENT_TYPE_XML HWLOC_NAME_CAPS(COMPONENT_TYPE_XML)
  525. #define hwloc_component_type_t HWLOC_NAME(component_type_t)
  526. #define hwloc_component HWLOC_NAME(component)
  527. #define hwloc_plugin_check_namespace HWLOC_NAME(plugin_check_namespace)
  528. #define hwloc_hide_errors HWLOC_NAME(hide_errors)
  529. #define hwloc__insert_object_by_cpuset HWLOC_NAME(_insert_object_by_cpuset)
  530. #define hwloc_insert_object_by_parent HWLOC_NAME(insert_object_by_parent)
  531. #define hwloc_alloc_setup_object HWLOC_NAME(alloc_setup_object)
  532. #define hwloc_obj_add_children_sets HWLOC_NAME(add_children_sets)
  533. #define hwloc_topology_reconnect HWLOC_NAME(topology_reconnect)
  534. #define hwloc_filter_check_pcidev_subtype_important HWLOC_NAME(filter_check_pcidev_subtype_important)
  535. #define hwloc_filter_check_osdev_subtype_important HWLOC_NAME(filter_check_osdev_subtype_important)
  536. #define hwloc_filter_check_keep_object_type HWLOC_NAME(filter_check_keep_object_type)
  537. #define hwloc_filter_check_keep_object HWLOC_NAME(filter_check_keep_object)
  538. #define hwloc_pcidisc_find_cap HWLOC_NAME(pcidisc_find_cap)
  539. #define hwloc_pcidisc_find_linkspeed HWLOC_NAME(pcidisc_find_linkspeed)
  540. #define hwloc_pcidisc_check_bridge_type HWLOC_NAME(pcidisc_check_bridge_type)
  541. #define hwloc_pcidisc_find_bridge_buses HWLOC_NAME(pcidisc_find_bridge_buses)
  542. #define hwloc_pcidisc_tree_insert_by_busid HWLOC_NAME(pcidisc_tree_insert_by_busid)
  543. #define hwloc_pcidisc_tree_attach HWLOC_NAME(pcidisc_tree_attach)
  544. #define hwloc_pci_find_by_busid HWLOC_NAME(pcidisc_find_by_busid)
  545. #define hwloc_pci_find_parent_by_busid HWLOC_NAME(pcidisc_find_busid_parent)
  546. #define hwloc_backend_distances_add_handle_t HWLOC_NAME(backend_distances_add_handle_t)
  547. #define hwloc_backend_distances_add_create HWLOC_NAME(backend_distances_add_create)
  548. #define hwloc_backend_distances_add_values HWLOC_NAME(backend_distances_add_values)
  549. #define hwloc_backend_distances_add_commit HWLOC_NAME(backend_distances_add_commit)
  550. /* hwloc/deprecated.h */
  551. #define hwloc_distances_add HWLOC_NAME(distances_add)
  552. #define hwloc_topology_insert_misc_object_by_parent HWLOC_NAME(topology_insert_misc_object_by_parent)
  553. #define hwloc_obj_cpuset_snprintf HWLOC_NAME(obj_cpuset_snprintf)
  554. #define hwloc_obj_type_sscanf HWLOC_NAME(obj_type_sscanf)
  555. #define hwloc_set_membind_nodeset HWLOC_NAME(set_membind_nodeset)
  556. #define hwloc_get_membind_nodeset HWLOC_NAME(get_membind_nodeset)
  557. #define hwloc_set_proc_membind_nodeset HWLOC_NAME(set_proc_membind_nodeset)
  558. #define hwloc_get_proc_membind_nodeset HWLOC_NAME(get_proc_membind_nodeset)
  559. #define hwloc_set_area_membind_nodeset HWLOC_NAME(set_area_membind_nodeset)
  560. #define hwloc_get_area_membind_nodeset HWLOC_NAME(get_area_membind_nodeset)
  561. #define hwloc_alloc_membind_nodeset HWLOC_NAME(alloc_membind_nodeset)
  562. #define hwloc_cpuset_to_nodeset_strict HWLOC_NAME(cpuset_to_nodeset_strict)
  563. #define hwloc_cpuset_from_nodeset_strict HWLOC_NAME(cpuset_from_nodeset_strict)
  564. /* private/debug.h */
  565. #define hwloc_debug_enabled HWLOC_NAME(debug_enabled)
  566. #define hwloc_debug HWLOC_NAME(debug)
  567. /* private/misc.h */
  568. #ifndef HWLOC_HAVE_CORRECT_SNPRINTF
  569. #define hwloc_snprintf HWLOC_NAME(snprintf)
  570. #endif
  571. #define hwloc_ffsl_manual HWLOC_NAME(ffsl_manual)
  572. #define hwloc_ffs32 HWLOC_NAME(ffs32)
  573. #define hwloc_ffsl_from_ffs32 HWLOC_NAME(ffsl_from_ffs32)
  574. #define hwloc_flsl_manual HWLOC_NAME(flsl_manual)
  575. #define hwloc_fls32 HWLOC_NAME(fls32)
  576. #define hwloc_flsl_from_fls32 HWLOC_NAME(flsl_from_fls32)
  577. #define hwloc_weight_long HWLOC_NAME(weight_long)
  578. #define hwloc_strncasecmp HWLOC_NAME(strncasecmp)
  579. #define hwloc_bitmap_compare_inclusion HWLOC_NAME(bitmap_compare_inclusion)
  580. #define hwloc_pci_class_string HWLOC_NAME(pci_class_string)
  581. #define hwloc_linux_pci_link_speed_from_string HWLOC_NAME(linux_pci_link_speed_from_string)
  582. #define hwloc_cache_type_by_depth_type HWLOC_NAME(cache_type_by_depth_type)
  583. #define hwloc__obj_type_is_normal HWLOC_NAME(_obj_type_is_normal)
  584. #define hwloc__obj_type_is_memory HWLOC_NAME(_obj_type_is_memory)
  585. #define hwloc__obj_type_is_io HWLOC_NAME(_obj_type_is_io)
  586. #define hwloc__obj_type_is_special HWLOC_NAME(_obj_type_is_special)
  587. #define hwloc__obj_type_is_cache HWLOC_NAME(_obj_type_is_cache)
  588. #define hwloc__obj_type_is_dcache HWLOC_NAME(_obj_type_is_dcache)
  589. #define hwloc__obj_type_is_icache HWLOC_NAME(_obj_type_is_icache)
  590. /* private/cpuid-x86.h */
  591. #define hwloc_have_x86_cpuid HWLOC_NAME(have_x86_cpuid)
  592. #define hwloc_x86_cpuid HWLOC_NAME(x86_cpuid)
  593. /* private/xml.h */
  594. #define hwloc__xml_verbose HWLOC_NAME(_xml_verbose)
  595. #define hwloc__xml_import_state_s HWLOC_NAME(_xml_import_state_s)
  596. #define hwloc__xml_import_state_t HWLOC_NAME(_xml_import_state_t)
  597. #define hwloc__xml_import_diff HWLOC_NAME(_xml_import_diff)
  598. #define hwloc_xml_backend_data_s HWLOC_NAME(xml_backend_data_s)
  599. #define hwloc__xml_export_state_s HWLOC_NAME(_xml_export_state_s)
  600. #define hwloc__xml_export_state_t HWLOC_NAME(_xml_export_state_t)
  601. #define hwloc__xml_export_data_s HWLOC_NAME(_xml_export_data_s)
  602. #define hwloc__xml_export_topology HWLOC_NAME(_xml_export_topology)
  603. #define hwloc__xml_export_diff HWLOC_NAME(_xml_export_diff)
  604. #define hwloc_xml_callbacks HWLOC_NAME(xml_callbacks)
  605. #define hwloc_xml_component HWLOC_NAME(xml_component)
  606. #define hwloc_xml_callbacks_register HWLOC_NAME(xml_callbacks_register)
  607. #define hwloc_xml_callbacks_reset HWLOC_NAME(xml_callbacks_reset)
  608. #define hwloc__xml_imported_v1distances_s HWLOC_NAME(_xml_imported_v1distances_s)
  609. /* private/components.h */
  610. #define hwloc_disc_component_force_enable HWLOC_NAME(disc_component_force_enable)
  611. #define hwloc_disc_components_enable_others HWLOC_NAME(disc_components_instantiate_others)
  612. #define hwloc_backends_is_thissystem HWLOC_NAME(backends_is_thissystem)
  613. #define hwloc_backends_find_callbacks HWLOC_NAME(backends_find_callbacks)
  614. #define hwloc_topology_components_init HWLOC_NAME(topology_components_init)
  615. #define hwloc_backends_disable_all HWLOC_NAME(backends_disable_all)
  616. #define hwloc_topology_components_fini HWLOC_NAME(topology_components_fini)
  617. #define hwloc_components_init HWLOC_NAME(components_init)
  618. #define hwloc_components_fini HWLOC_NAME(components_fini)
  619. /* private/internal-private.h */
  620. #define hwloc_xml_component HWLOC_NAME(xml_component)
  621. #define hwloc_synthetic_component HWLOC_NAME(synthetic_component)
  622. #define hwloc_aix_component HWLOC_NAME(aix_component)
  623. #define hwloc_bgq_component HWLOC_NAME(bgq_component)
  624. #define hwloc_darwin_component HWLOC_NAME(darwin_component)
  625. #define hwloc_freebsd_component HWLOC_NAME(freebsd_component)
  626. #define hwloc_hpux_component HWLOC_NAME(hpux_component)
  627. #define hwloc_linux_component HWLOC_NAME(linux_component)
  628. #define hwloc_netbsd_component HWLOC_NAME(netbsd_component)
  629. #define hwloc_noos_component HWLOC_NAME(noos_component)
  630. #define hwloc_solaris_component HWLOC_NAME(solaris_component)
  631. #define hwloc_windows_component HWLOC_NAME(windows_component)
  632. #define hwloc_x86_component HWLOC_NAME(x86_component)
  633. #define hwloc_cuda_component HWLOC_NAME(cuda_component)
  634. #define hwloc_gl_component HWLOC_NAME(gl_component)
  635. #define hwloc_levelzero_component HWLOC_NAME(levelzero_component)
  636. #define hwloc_nvml_component HWLOC_NAME(nvml_component)
  637. #define hwloc_rsmi_component HWLOC_NAME(rsmi_component)
  638. #define hwloc_opencl_component HWLOC_NAME(opencl_component)
  639. #define hwloc_pci_component HWLOC_NAME(pci_component)
  640. #define hwloc_xml_libxml_component HWLOC_NAME(xml_libxml_component)
  641. #define hwloc_xml_nolibxml_component HWLOC_NAME(xml_nolibxml_component)
  642. /* private/private.h */
  643. #define hwloc_internal_location_s HWLOC_NAME(internal_location_s)
  644. #define hwloc_special_level_s HWLOC_NAME(special_level_s)
  645. #define hwloc_pci_forced_locality_s HWLOC_NAME(pci_forced_locality_s)
  646. #define hwloc_pci_locality_s HWLOC_NAME(pci_locality_s)
  647. #define hwloc_topology_forced_component_s HWLOC_NAME(topology_forced_component)
  648. #define hwloc_alloc_root_sets HWLOC_NAME(alloc_root_sets)
  649. #define hwloc_setup_pu_level HWLOC_NAME(setup_pu_level)
  650. #define hwloc_get_sysctlbyname HWLOC_NAME(get_sysctlbyname)
  651. #define hwloc_get_sysctl HWLOC_NAME(get_sysctl)
  652. #define hwloc_fallback_nbprocessors HWLOC_NAME(fallback_nbprocessors)
  653. #define hwloc_fallback_memsize HWLOC_NAME(fallback_memsize)
  654. #define hwloc__object_cpusets_compare_first HWLOC_NAME(_object_cpusets_compare_first)
  655. #define hwloc__reorder_children HWLOC_NAME(_reorder_children)
  656. #define hwloc_topology_setup_defaults HWLOC_NAME(topology_setup_defaults)
  657. #define hwloc_topology_clear HWLOC_NAME(topology_clear)
  658. #define hwloc__attach_memory_object HWLOC_NAME(insert_memory_object)
  659. #define hwloc_get_obj_by_type_and_gp_index HWLOC_NAME(get_obj_by_type_and_gp_index)
  660. #define hwloc_pci_discovery_init HWLOC_NAME(pci_discovery_init)
  661. #define hwloc_pci_discovery_prepare HWLOC_NAME(pci_discovery_prepare)
  662. #define hwloc_pci_discovery_exit HWLOC_NAME(pci_discovery_exit)
  663. #define hwloc_find_insert_io_parent_by_complete_cpuset HWLOC_NAME(hwloc_find_insert_io_parent_by_complete_cpuset)
  664. #define hwloc__add_info HWLOC_NAME(_add_info)
  665. #define hwloc__add_info_nodup HWLOC_NAME(_add_info_nodup)
  666. #define hwloc__move_infos HWLOC_NAME(_move_infos)
  667. #define hwloc__free_infos HWLOC_NAME(_free_infos)
  668. #define hwloc__tma_dup_infos HWLOC_NAME(_tma_dup_infos)
  669. #define hwloc_binding_hooks HWLOC_NAME(binding_hooks)
  670. #define hwloc_set_native_binding_hooks HWLOC_NAME(set_native_binding_hooks)
  671. #define hwloc_set_binding_hooks HWLOC_NAME(set_binding_hooks)
  672. #define hwloc_set_linuxfs_hooks HWLOC_NAME(set_linuxfs_hooks)
  673. #define hwloc_set_bgq_hooks HWLOC_NAME(set_bgq_hooks)
  674. #define hwloc_set_solaris_hooks HWLOC_NAME(set_solaris_hooks)
  675. #define hwloc_set_aix_hooks HWLOC_NAME(set_aix_hooks)
  676. #define hwloc_set_windows_hooks HWLOC_NAME(set_windows_hooks)
  677. #define hwloc_set_darwin_hooks HWLOC_NAME(set_darwin_hooks)
  678. #define hwloc_set_freebsd_hooks HWLOC_NAME(set_freebsd_hooks)
  679. #define hwloc_set_netbsd_hooks HWLOC_NAME(set_netbsd_hooks)
  680. #define hwloc_set_hpux_hooks HWLOC_NAME(set_hpux_hooks)
  681. #define hwloc_look_hardwired_fujitsu_k HWLOC_NAME(look_hardwired_fujitsu_k)
  682. #define hwloc_look_hardwired_fujitsu_fx10 HWLOC_NAME(look_hardwired_fujitsu_fx10)
  683. #define hwloc_look_hardwired_fujitsu_fx100 HWLOC_NAME(look_hardwired_fujitsu_fx100)
  684. #define hwloc_add_uname_info HWLOC_NAME(add_uname_info)
  685. #define hwloc_free_unlinked_object HWLOC_NAME(free_unlinked_object)
  686. #define hwloc_free_object_and_children HWLOC_NAME(free_object_and_children)
  687. #define hwloc_free_object_siblings_and_children HWLOC_NAME(free_object_siblings_and_children)
  688. #define hwloc_alloc_heap HWLOC_NAME(alloc_heap)
  689. #define hwloc_alloc_mmap HWLOC_NAME(alloc_mmap)
  690. #define hwloc_free_heap HWLOC_NAME(free_heap)
  691. #define hwloc_free_mmap HWLOC_NAME(free_mmap)
  692. #define hwloc_alloc_or_fail HWLOC_NAME(alloc_or_fail)
  693. #define hwloc_internal_distances_s HWLOC_NAME(internal_distances_s)
  694. #define hwloc_internal_distances_init HWLOC_NAME(internal_distances_init)
  695. #define hwloc_internal_distances_prepare HWLOC_NAME(internal_distances_prepare)
  696. #define hwloc_internal_distances_dup HWLOC_NAME(internal_distances_dup)
  697. #define hwloc_internal_distances_refresh HWLOC_NAME(internal_distances_refresh)
  698. #define hwloc_internal_distances_destroy HWLOC_NAME(internal_distances_destroy)
  699. #define hwloc_internal_distances_add HWLOC_NAME(internal_distances_add)
  700. #define hwloc_internal_distances_add_by_index HWLOC_NAME(internal_distances_add_by_index)
  701. #define hwloc_internal_distances_invalidate_cached_objs HWLOC_NAME(hwloc_internal_distances_invalidate_cached_objs)
  702. #define hwloc_internal_memattr_s HWLOC_NAME(internal_memattr_s)
  703. #define hwloc_internal_memattr_target_s HWLOC_NAME(internal_memattr_target_s)
  704. #define hwloc_internal_memattr_initiator_s HWLOC_NAME(internal_memattr_initiator_s)
  705. #define hwloc_internal_memattrs_init HWLOC_NAME(internal_memattrs_init)
  706. #define hwloc_internal_memattrs_prepare HWLOC_NAME(internal_memattrs_prepare)
  707. #define hwloc_internal_memattrs_dup HWLOC_NAME(internal_memattrs_dup)
  708. #define hwloc_internal_memattrs_destroy HWLOC_NAME(internal_memattrs_destroy)
  709. #define hwloc_internal_memattrs_need_refresh HWLOC_NAME(internal_memattrs_need_refresh)
  710. #define hwloc_internal_memattrs_refresh HWLOC_NAME(internal_memattrs_refresh)
  711. #define hwloc_internal_memattrs_guess_memory_tiers HWLOC_NAME(internal_memattrs_guess_memory_tiers)
  712. #define hwloc_internal_cpukind_s HWLOC_NAME(internal_cpukind_s)
  713. #define hwloc_internal_cpukinds_init HWLOC_NAME(internal_cpukinds_init)
  714. #define hwloc_internal_cpukinds_destroy HWLOC_NAME(internal_cpukinds_destroy)
  715. #define hwloc_internal_cpukinds_dup HWLOC_NAME(internal_cpukinds_dup)
  716. #define hwloc_internal_cpukinds_register HWLOC_NAME(internal_cpukinds_register)
  717. #define hwloc_internal_cpukinds_rank HWLOC_NAME(internal_cpukinds_rank)
  718. #define hwloc_internal_cpukinds_restrict HWLOC_NAME(internal_cpukinds_restrict)
  719. #define hwloc_encode_to_base64 HWLOC_NAME(encode_to_base64)
  720. #define hwloc_decode_from_base64 HWLOC_NAME(decode_from_base64)
  721. #define hwloc_progname HWLOC_NAME(progname)
  722. #define hwloc__topology_disadopt HWLOC_NAME(_topology_disadopt)
  723. #define hwloc__topology_dup HWLOC_NAME(_topology_dup)
  724. #define hwloc_tma HWLOC_NAME(tma)
  725. #define hwloc_tma_malloc HWLOC_NAME(tma_malloc)
  726. #define hwloc_tma_calloc HWLOC_NAME(tma_calloc)
  727. #define hwloc_tma_strdup HWLOC_NAME(tma_strdup)
  728. #define hwloc_bitmap_tma_dup HWLOC_NAME(bitmap_tma_dup)
  729. /* private/solaris-chiptype.h */
  730. #define hwloc_solaris_chip_info_s HWLOC_NAME(solaris_chip_info_s)
  731. #define hwloc_solaris_get_chip_info HWLOC_NAME(solaris_get_chip_info)
  732. #endif /* HWLOC_SYM_TRANSFORM */
  733. #ifdef __cplusplus
  734. } /* extern "C" */
  735. #endif
  736. #endif /* HWLOC_RENAME_H */