OpenMPI  0.1.1
rename.h
1 /*
2  * Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
3  * Copyright © 2010-2011 inria. All rights reserved.
4  * See COPYING in top-level directory.
5  */
6 
7 #ifndef HWLOC_RENAME_H
8 #define HWLOC_RENAME_H
9 
10 #include <hwloc/autogen/config.h>
11 
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 
18 /* Only enact these defines if we're actually renaming the symbols
19  (i.e., avoid trying to have no-op defines if we're *not*
20  renaming). */
21 
22 #if HWLOC_SYM_TRANSFORM
23 
24 /* Use a preprocessor two-step in order to get the prefixing right.
25  Make 2 macros: HWLOC_NAME and HWLOC_NAME_CAPS for renaming
26  things. */
27 
28 #define HWLOC_MUNGE_NAME(a, b) HWLOC_MUNGE_NAME2(a, b)
29 #define HWLOC_MUNGE_NAME2(a, b) a ## b
30 #define HWLOC_NAME(name) HWLOC_MUNGE_NAME(HWLOC_SYM_PREFIX, hwloc_ ## name)
31 #define HWLOC_NAME_CAPS(name) HWLOC_MUNGE_NAME(HWLOC_SYM_PREFIX_CAPS, hwloc_ ## name)
32 
33 /* Now define all the "real" names to be the prefixed names. This
34  allows us to use the real names throughout the code base (i.e.,
35  "hwloc_<foo>"); the preprocessor will adjust to have the prefixed
36  name under the covers. */
37 
38 /* Names from hwloc.h */
39 
40 #define hwloc_get_api_version HWLOC_NAME(get_api_version)
41 
42 #define hwloc_topology HWLOC_NAME(topology)
43 #define hwloc_topology_t HWLOC_NAME(topology_t)
44 
45 #define hwloc_cpuset_t HWLOC_NAME(cpuset_t)
46 #define hwloc_const_cpuset_t HWLOC_NAME(const_cpuset_t)
47 #define hwloc_nodeset_t HWLOC_NAME(nodeset_t)
48 #define hwloc_const_nodeset_t HWLOC_NAME(const_nodeset_t)
49 
50 #define HWLOC_OBJ_SYSTEM HWLOC_NAME_CAPS(OBJ_SYSTEM)
51 #define HWLOC_OBJ_MACHINE HWLOC_NAME_CAPS(OBJ_MACHINE)
52 #define HWLOC_OBJ_NODE HWLOC_NAME_CAPS(OBJ_NODE)
53 #define HWLOC_OBJ_SOCKET HWLOC_NAME_CAPS(OBJ_SOCKET)
54 #define HWLOC_OBJ_CACHE HWLOC_NAME_CAPS(OBJ_CACHE)
55 #define HWLOC_OBJ_CORE HWLOC_NAME_CAPS(OBJ_CORE)
56 #define HWLOC_OBJ_PU HWLOC_NAME_CAPS(OBJ_PU)
57 #define HWLOC_OBJ_MISC HWLOC_NAME_CAPS(OBJ_MISC)
58 #define HWLOC_OBJ_GROUP HWLOC_NAME_CAPS(OBJ_GROUP)
59 #define HWLOC_OBJ_BRIDGE HWLOC_NAME_CAPS(OBJ_BRIDGE)
60 #define HWLOC_OBJ_PCI_DEVICE HWLOC_NAME_CAPS(OBJ_PCI_DEVICE)
61 #define HWLOC_OBJ_OS_DEVICE HWLOC_NAME_CAPS(OBJ_OS_DEVICE)
62 #define HWLOC_OBJ_TYPE_MAX HWLOC_NAME_CAPS(OBJ_TYPE_MAX)
63 #define hwloc_obj_type_t HWLOC_NAME(obj_type_t)
64 
65 #define hwloc_obj_bridge_type_e HWLOC_NAME(obj_bridge_type_e)
66 #define hwloc_obj_bridge_type_t HWLOC_NAME(obj_bridge_type_t)
67 #define HWLOC_OBJ_BRIDGE_HOST HWLOC_NAME_CAPS(OBJ_BRIDGE_HOST)
68 #define HWLOC_OBJ_BRIDGE_PCI HWLOC_NAME_CAPS(OBJ_BRIDGE_PCI)
69 
70 #define hwloc_obj_osdev_type_e HWLOC_NAME(obj_osdev_type_e)
71 #define hwloc_obj_osdev_type_t HWLOC_NAME(obj_osdev_type_t)
72 #define HWLOC_OBJ_OSDEV_BLOCK HWLOC_NAME_CAPS(OBJ_OSDEV_BLOCK)
73 #define HWLOC_OBJ_OSDEV_GPU HWLOC_NAME_CAPS(OBJ_OSDEV_GPU)
74 #define HWLOC_OBJ_OSDEV_NETWORK HWLOC_NAME_CAPS(OBJ_OSDEV_NETWORK)
75 #define HWLOC_OBJ_OSDEV_OPENFABRICS HWLOC_NAME_CAPS(OBJ_OSDEV_OPENFABRICS)
76 #define HWLOC_OBJ_OSDEV_DMA HWLOC_NAME_CAPS(OBJ_OSDEV_DMA)
77 
78 #define hwloc_compare_types HWLOC_NAME(compare_types)
79 
80 #define hwloc_compare_types_e HWLOC_NAME(compare_types_e)
81 #define HWLOC_TYPE_UNORDERED HWLOC_NAME_CAPS(TYPE_UNORDERED)
82 
83 #define hwloc_obj_memory_s HWLOC_NAME(obj_memory_s)
84 #define hwloc_obj_memory_page_type_s HWLOC_NAME(obj_memory_page_type_s)
85 
86 #define hwloc_obj HWLOC_NAME(obj)
87 #define hwloc_obj_t HWLOC_NAME(obj_t)
88 
89 #define hwloc_distances_s HWLOC_NAME(distances_s)
90 #define hwloc_obj_info_s HWLOC_NAME(obj_info_s)
91 
92 #define hwloc_obj_attr_u HWLOC_NAME(obj_attr_u)
93 #define hwloc_cache_attr_s HWLOC_NAME(cache_attr_s)
94 #define hwloc_group_attr_s HWLOC_NAME(group_attr_s)
95 #define hwloc_pcidev_attr_s HWLOC_NAME(pcidev_attr_s)
96 #define hwloc_bridge_attr_s HWLOC_NAME(bridge_attr_s)
97 #define hwloc_osdev_attr_s HWLOC_NAME(osdev_attr_s)
98 
99 #define hwloc_topology_init HWLOC_NAME(topology_init)
100 #define hwloc_topology_load HWLOC_NAME(topology_load)
101 #define hwloc_topology_destroy HWLOC_NAME(topology_destroy)
102 #define hwloc_topology_check HWLOC_NAME(topology_check)
103 #define hwloc_topology_ignore_type HWLOC_NAME(topology_ignore_type)
104 #define hwloc_topology_ignore_type_keep_structure HWLOC_NAME(topology_ignore_type_keep_structure)
105 #define hwloc_topology_ignore_all_keep_structure HWLOC_NAME(topology_ignore_all_keep_structure)
106 
107 #define hwloc_topology_flags_e HWLOC_NAME(topology_flags_e)
108 
109 #define HWLOC_TOPOLOGY_FLAG_WHOLE_SYSTEM HWLOC_NAME_CAPS(TOPOLOGY_FLAG_WHOLE_SYSTEM)
110 #define HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM HWLOC_NAME_CAPS(TOPOLOGY_FLAG_IS_THISSYSTEM)
111 #define HWLOC_TOPOLOGY_FLAG_IO_DEVICES HWLOC_NAME_CAPS(TOPOLOGY_FLAG_IO_DEVICES)
112 #define HWLOC_TOPOLOGY_FLAG_IO_BRIDGES HWLOC_NAME_CAPS(TOPOLOGY_FLAG_IO_BRIDGES)
113 #define HWLOC_TOPOLOGY_FLAG_WHOLE_IO HWLOC_NAME_CAPS(TOPOLOGY_FLAG_WHOLE_IO)
114 
115 #define hwloc_topology_set_flags HWLOC_NAME(topology_set_flags)
116 #define hwloc_topology_set_fsroot HWLOC_NAME(topology_set_fsroot)
117 #define hwloc_topology_set_pid HWLOC_NAME(topology_set_pid)
118 #define hwloc_topology_set_synthetic HWLOC_NAME(topology_set_synthetic)
119 #define hwloc_topology_set_xml HWLOC_NAME(topology_set_xml)
120 #define hwloc_topology_set_xmlbuffer HWLOC_NAME(topology_set_xmlbuffer)
121 #define hwloc_topology_set_distance_matrix HWLOC_NAME(topology_set_distance_matrix)
122 
123 #define hwloc_topology_discovery_support HWLOC_NAME(topology_discovery_support)
124 #define hwloc_topology_cpubind_support HWLOC_NAME(topology_cpubind_support)
125 #define hwloc_topology_membind_support HWLOC_NAME(topology_membind_support)
126 #define hwloc_topology_support HWLOC_NAME(topology_support)
127 #define hwloc_topology_get_support HWLOC_NAME(topology_get_support)
128 #define hwloc_topology_export_xml HWLOC_NAME(topology_export_xml)
129 #define hwloc_topology_export_xmlbuffer HWLOC_NAME(topology_export_xmlbuffer)
130 #define hwloc_free_xmlbuffer HWLOC_NAME(free_xmlbuffer)
131 
132 #define hwloc_topology_insert_misc_object_by_cpuset HWLOC_NAME(topology_insert_misc_object_by_cpuset)
133 #define hwloc_topology_insert_misc_object_by_parent HWLOC_NAME(topology_insert_misc_object_by_parent)
134 
135 #define hwloc_restrict_flags_e HWLOC_NAME(restrict_flags_e)
136 #define HWLOC_RESTRICT_FLAG_ADAPT_DISTANCES HWLOC_NAME_CAPS(RESTRICT_FLAG_ADAPT_DISTANCES)
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 
141 #define hwloc_topology_get_depth HWLOC_NAME(topology_get_depth)
142 #define hwloc_get_type_depth HWLOC_NAME(get_type_depth)
143 
144 #define hwloc_get_type_depth_e HWLOC_NAME(get_type_depth_e)
145 #define HWLOC_TYPE_DEPTH_UNKNOWN HWLOC_NAME_CAPS(TYPE_DEPTH_UNKNOWN)
146 #define HWLOC_TYPE_DEPTH_MULTIPLE HWLOC_NAME_CAPS(TYPE_DEPTH_MULTIPLE)
147 #define HWLOC_TYPE_DEPTH_BRIDGE HWLOC_NAME_CAPS(TYPE_DEPTH_BRIDGE)
148 #define HWLOC_TYPE_DEPTH_PCI_DEVICE HWLOC_NAME_CAPS(TYPE_DEPTH_PCI_DEVICE)
149 #define HWLOC_TYPE_DEPTH_OS_DEVICE HWLOC_NAME_CAPS(TYPE_DEPTH_OS_DEVICE)
150 
151 #define hwloc_get_depth_type HWLOC_NAME(get_depth_type)
152 #define hwloc_get_nbobjs_by_depth HWLOC_NAME(get_nbobjs_by_depth)
153 #define hwloc_get_nbobjs_by_type HWLOC_NAME(get_nbobjs_by_type)
154 
155 #define hwloc_topology_is_thissystem HWLOC_NAME(topology_is_thissystem)
156 
157 #define hwloc_get_obj_by_depth HWLOC_NAME(get_obj_by_depth )
158 #define hwloc_get_obj_by_type HWLOC_NAME(get_obj_by_type )
159 
160 #define hwloc_obj_type_string HWLOC_NAME(obj_type_string )
161 #define hwloc_obj_type_of_string HWLOC_NAME(obj_type_of_string )
162 #define hwloc_obj_type_snprintf HWLOC_NAME(obj_type_snprintf )
163 #define hwloc_obj_attr_snprintf HWLOC_NAME(obj_attr_snprintf )
164 #define hwloc_obj_snprintf HWLOC_NAME(obj_snprintf)
165 #define hwloc_obj_cpuset_snprintf HWLOC_NAME(obj_cpuset_snprintf)
166 #define hwloc_obj_get_info_by_name HWLOC_NAME(obj_get_info_by_name)
167 #define hwloc_obj_add_info HWLOC_NAME(obj_add_info)
168 
169 #define HWLOC_CPUBIND_PROCESS HWLOC_NAME_CAPS(CPUBIND_PROCESS)
170 #define HWLOC_CPUBIND_THREAD HWLOC_NAME_CAPS(CPUBIND_THREAD)
171 #define HWLOC_CPUBIND_STRICT HWLOC_NAME_CAPS(CPUBIND_STRICT)
172 #define HWLOC_CPUBIND_NOMEMBIND HWLOC_NAME_CAPS(CPUBIND_NOMEMBIND)
173 
174 #define hwloc_cpubind_flags_t HWLOC_NAME(cpubind_flags_t)
175 
176 #define hwloc_set_cpubind HWLOC_NAME(set_cpubind)
177 #define hwloc_get_cpubind HWLOC_NAME(get_cpubind)
178 #define hwloc_set_proc_cpubind HWLOC_NAME(set_proc_cpubind)
179 #define hwloc_get_proc_cpubind HWLOC_NAME(get_proc_cpubind)
180 #define hwloc_set_thread_cpubind HWLOC_NAME(set_thread_cpubind)
181 #define hwloc_get_thread_cpubind HWLOC_NAME(get_thread_cpubind)
182 
183 #define hwloc_get_last_cpu_location HWLOC_NAME(get_last_cpu_location)
184 #define hwloc_get_proc_last_cpu_location HWLOC_NAME(get_proc_last_cpu_location)
185 
186 #define HWLOC_MEMBIND_DEFAULT HWLOC_NAME_CAPS(MEMBIND_DEFAULT)
187 #define HWLOC_MEMBIND_FIRSTTOUCH HWLOC_NAME_CAPS(MEMBIND_FIRSTTOUCH)
188 #define HWLOC_MEMBIND_BIND HWLOC_NAME_CAPS(MEMBIND_BIND)
189 #define HWLOC_MEMBIND_INTERLEAVE HWLOC_NAME_CAPS(MEMBIND_INTERLEAVE)
190 #define HWLOC_MEMBIND_REPLICATE HWLOC_NAME_CAPS(MEMBIND_REPLICATE)
191 #define HWLOC_MEMBIND_NEXTTOUCH HWLOC_NAME_CAPS(MEMBIND_NEXTTOUCH)
192 #define HWLOC_MEMBIND_MIXED HWLOC_NAME_CAPS(MEMBIND_MIXED)
193 
194 #define hwloc_membind_policy_t HWLOC_NAME(membind_policy_t)
195 
196 #define HWLOC_MEMBIND_PROCESS HWLOC_NAME_CAPS(MEMBIND_PROCESS)
197 #define HWLOC_MEMBIND_THREAD HWLOC_NAME_CAPS(MEMBIND_THREAD)
198 #define HWLOC_MEMBIND_STRICT HWLOC_NAME_CAPS(MEMBIND_STRICT)
199 #define HWLOC_MEMBIND_MIGRATE HWLOC_NAME_CAPS(MEMBIND_MIGRATE)
200 #define HWLOC_MEMBIND_NOCPUBIND HWLOC_NAME_CAPS(MEMBIND_NOCPUBIND)
201 
202 #define hwloc_membind_flags_t HWLOC_NAME(membind_flags_t)
203 
204 #define hwloc_set_membind_nodeset HWLOC_NAME(set_membind_nodeset)
205 #define hwloc_set_membind HWLOC_NAME(set_membind)
206 #define hwloc_get_membind_nodeset HWLOC_NAME(get_membind_nodeset)
207 #define hwloc_get_membind HWLOC_NAME(get_membind)
208 #define hwloc_set_proc_membind_nodeset HWLOC_NAME(set_proc_membind_nodeset)
209 #define hwloc_set_proc_membind HWLOC_NAME(set_proc_membind)
210 #define hwloc_get_proc_membind_nodeset HWLOC_NAME(get_proc_membind_nodeset)
211 #define hwloc_get_proc_membind HWLOC_NAME(get_proc_membind)
212 #define hwloc_set_area_membind_nodeset HWLOC_NAME(set_area_membind_nodeset)
213 #define hwloc_set_area_membind HWLOC_NAME(set_area_membind)
214 #define hwloc_get_area_membind_nodeset HWLOC_NAME(get_area_membind_nodeset)
215 #define hwloc_get_area_membind HWLOC_NAME(get_area_membind)
216 #define hwloc_alloc_membind_nodeset HWLOC_NAME(alloc_membind_nodeset)
217 #define hwloc_alloc_membind HWLOC_NAME(alloc_membind)
218 #define hwloc_alloc HWLOC_NAME(alloc)
219 #define hwloc_free HWLOC_NAME(free)
220 
221 #define hwloc_get_non_io_ancestor_obj HWLOC_NAME(get_non_io_ancestor_obj)
222 #define hwloc_get_next_pcidev HWLOC_NAME(get_next_pcidev)
223 #define hwloc_get_pcidev_by_busid HWLOC_NAME(get_pcidev_by_busid)
224 #define hwloc_get_pcidev_by_busidstring HWLOC_NAME(get_pcidev_by_busidstring)
225 #define hwloc_get_next_osdev HWLOC_NAME(get_next_osdev)
226 #define hwloc_get_next_bridge HWLOC_NAME(get_next_bridge)
227 #define hwloc_bridge_covers_pcibus HWLOC_NAME(bridge_covers_pcibus)
228 #define hwloc_get_hostbridge_by_pcibus HWLOC_NAME(get_hostbridge_by_pcibus)
229 
230 /* hwloc/bitmap.h */
231 
232 #define hwloc_bitmap HWLOC_NAME(bitmap)
233 #define hwloc_bitmap_s HWLOC_NAME(bitmap_s)
234 #define hwloc_bitmap_t HWLOC_NAME(bitmap_t)
235 #define hwloc_const_bitmap_t HWLOC_NAME(const_bitmap_t)
236 
237 #define hwloc_bitmap_alloc HWLOC_NAME(bitmap_alloc)
238 #define hwloc_bitmap_alloc_full HWLOC_NAME(bitmap_alloc_full)
239 #define hwloc_bitmap_free HWLOC_NAME(bitmap_free)
240 #define hwloc_bitmap_dup HWLOC_NAME(bitmap_dup)
241 #define hwloc_bitmap_copy HWLOC_NAME(bitmap_copy)
242 #define hwloc_bitmap_snprintf HWLOC_NAME(bitmap_snprintf)
243 #define hwloc_bitmap_asprintf HWLOC_NAME(bitmap_asprintf)
244 #define hwloc_bitmap_sscanf HWLOC_NAME(bitmap_sscanf)
245 #define hwloc_bitmap_list_snprintf HWLOC_NAME(bitmap_list_snprintf)
246 #define hwloc_bitmap_list_asprintf HWLOC_NAME(bitmap_list_asprintf)
247 #define hwloc_bitmap_list_sscanf HWLOC_NAME(bitmap_list_sscanf)
248 #define hwloc_bitmap_taskset_snprintf HWLOC_NAME(bitmap_taskset_snprintf)
249 #define hwloc_bitmap_taskset_asprintf HWLOC_NAME(bitmap_taskset_asprintf)
250 #define hwloc_bitmap_taskset_sscanf HWLOC_NAME(bitmap_taskset_sscanf)
251 #define hwloc_bitmap_zero HWLOC_NAME(bitmap_zero)
252 #define hwloc_bitmap_fill HWLOC_NAME(bitmap_fill)
253 #define hwloc_bitmap_from_ulong HWLOC_NAME(bitmap_from_ulong)
254 
255 #define hwloc_bitmap_from_ith_ulong HWLOC_NAME(bitmap_from_ith_ulong)
256 #define hwloc_bitmap_to_ulong HWLOC_NAME(bitmap_to_ulong)
257 #define hwloc_bitmap_to_ith_ulong HWLOC_NAME(bitmap_to_ith_ulong)
258 #define hwloc_bitmap_only HWLOC_NAME(bitmap_only)
259 #define hwloc_bitmap_allbut HWLOC_NAME(bitmap_allbut)
260 #define hwloc_bitmap_set HWLOC_NAME(bitmap_set)
261 #define hwloc_bitmap_set_range HWLOC_NAME(bitmap_set_range)
262 #define hwloc_bitmap_set_ith_ulong HWLOC_NAME(bitmap_set_ith_ulong)
263 #define hwloc_bitmap_clr HWLOC_NAME(bitmap_clr)
264 #define hwloc_bitmap_clr_range HWLOC_NAME(bitmap_clr_range)
265 #define hwloc_bitmap_isset HWLOC_NAME(bitmap_isset)
266 #define hwloc_bitmap_iszero HWLOC_NAME(bitmap_iszero)
267 #define hwloc_bitmap_isfull HWLOC_NAME(bitmap_isfull)
268 #define hwloc_bitmap_isequal HWLOC_NAME(bitmap_isequal)
269 #define hwloc_bitmap_intersects HWLOC_NAME(bitmap_intersects)
270 #define hwloc_bitmap_isincluded HWLOC_NAME(bitmap_isincluded)
271 #define hwloc_bitmap_or HWLOC_NAME(bitmap_or)
272 #define hwloc_bitmap_and HWLOC_NAME(bitmap_and)
273 #define hwloc_bitmap_andnot HWLOC_NAME(bitmap_andnot)
274 #define hwloc_bitmap_xor HWLOC_NAME(bitmap_xor)
275 #define hwloc_bitmap_not HWLOC_NAME(bitmap_not)
276 #define hwloc_bitmap_first HWLOC_NAME(bitmap_first)
277 #define hwloc_bitmap_last HWLOC_NAME(bitmap_last)
278 #define hwloc_bitmap_next HWLOC_NAME(bitmap_next)
279 #define hwloc_bitmap_singlify HWLOC_NAME(bitmap_singlify)
280 #define hwloc_bitmap_compare_first HWLOC_NAME(bitmap_compare_first)
281 #define hwloc_bitmap_compare HWLOC_NAME(bitmap_compare)
282 #define hwloc_bitmap_weight HWLOC_NAME(bitmap_weight)
283 
284 /* hwloc/cpuset.h -- deprecated but still available */
285 
286 #define hwloc_cpuset HWLOC_NAME(cpuset)
287 #define hwloc_cpuset_s HWLOC_NAME(cpuset_s)
288 #define hwloc_cpuset_t HWLOC_NAME(cpuset_t)
289 #define hwloc_const_cpuset_t HWLOC_NAME(const_cpuset_t)
290 
291 #define hwloc_cpuset_alloc HWLOC_NAME(cpuset_alloc)
292 #define hwloc_cpuset_free HWLOC_NAME(cpuset_free)
293 #define hwloc_cpuset_dup HWLOC_NAME(cpuset_dup)
294 #define hwloc_cpuset_copy HWLOC_NAME(cpuset_copy)
295 #define hwloc_cpuset_snprintf HWLOC_NAME(cpuset_snprintf)
296 #define hwloc_cpuset_asprintf HWLOC_NAME(cpuset_asprintf)
297 #define hwloc_cpuset_from_string HWLOC_NAME(cpuset_from_string)
298 #define hwloc_cpuset_zero HWLOC_NAME(cpuset_zero)
299 #define hwloc_cpuset_fill HWLOC_NAME(cpuset_fill)
300 #define hwloc_cpuset_from_ulong HWLOC_NAME(cpuset_from_ulong)
301 #define hwloc_cpuset_taskset_snprintf HWLOC_NAME(cpuset_taskset_snprintf)
302 #define hwloc_cpuset_taskset_asprintf HWLOC_NAME(cpuset_taskset_asprintf)
303 #define hwloc_cpuset_taskset_sscanf HWLOC_NAME(cpuset_taskset_sscanf)
304 
305 #define hwloc_cpuset_from_ith_ulong HWLOC_NAME(cpuset_from_ith_ulong)
306 #define hwloc_cpuset_to_ulong HWLOC_NAME(cpuset_to_ulong)
307 #define hwloc_cpuset_to_ith_ulong HWLOC_NAME(cpuset_to_ith_ulong)
308 #define hwloc_cpuset_cpu HWLOC_NAME(cpuset_cpu)
309 #define hwloc_cpuset_all_but_cpu HWLOC_NAME(cpuset_all_but_cpu)
310 #define hwloc_cpuset_set HWLOC_NAME(cpuset_set)
311 #define hwloc_cpuset_set_range HWLOC_NAME(cpuset_set_range)
312 #define hwloc_cpuset_set_ith_ulong HWLOC_NAME(cpuset_set_ith_ulong)
313 #define hwloc_cpuset_clr HWLOC_NAME(cpuset_clr)
314 #define hwloc_cpuset_clr_range HWLOC_NAME(cpuset_clr_range)
315 #define hwloc_cpuset_isset HWLOC_NAME(cpuset_isset)
316 #define hwloc_cpuset_iszero HWLOC_NAME(cpuset_iszero)
317 #define hwloc_cpuset_isfull HWLOC_NAME(cpuset_isfull)
318 #define hwloc_cpuset_isequal HWLOC_NAME(cpuset_isequal)
319 #define hwloc_cpuset_intersects HWLOC_NAME(cpuset_intersects)
320 #define hwloc_cpuset_isincluded HWLOC_NAME(cpuset_isincluded)
321 #define hwloc_cpuset_or HWLOC_NAME(cpuset_or)
322 #define hwloc_cpuset_and HWLOC_NAME(cpuset_and)
323 #define hwloc_cpuset_andnot HWLOC_NAME(cpuset_andnot)
324 #define hwloc_cpuset_xor HWLOC_NAME(cpuset_xor)
325 #define hwloc_cpuset_not HWLOC_NAME(cpuset_not)
326 #define hwloc_cpuset_first HWLOC_NAME(cpuset_first)
327 #define hwloc_cpuset_last HWLOC_NAME(cpuset_last)
328 #define hwloc_cpuset_next HWLOC_NAME(cpuset_next)
329 #define hwloc_cpuset_singlify HWLOC_NAME(cpuset_singlify)
330 #define hwloc_cpuset_compare_first HWLOC_NAME(cpuset_compare_first)
331 #define hwloc_cpuset_compare HWLOC_NAME(cpuset_compare)
332 #define hwloc_cpuset_weight HWLOC_NAME(cpuset_weight)
333 
334 /* hwloc/helper.h */
335 
336 #define hwloc_get_type_or_below_depth HWLOC_NAME(get_type_or_below_depth)
337 #define hwloc_get_type_or_above_depth HWLOC_NAME(get_type_or_above_depth)
338 #define hwloc_get_root_obj HWLOC_NAME(get_root_obj)
339 #define hwloc_get_system_obj HWLOC_NAME(get_system_obj)
340 #define hwloc_get_ancestor_obj_by_depth HWLOC_NAME(get_ancestor_obj_by_depth)
341 #define hwloc_get_ancestor_obj_by_type HWLOC_NAME(get_ancestor_obj_by_type)
342 #define hwloc_get_next_obj_by_depth HWLOC_NAME(get_next_obj_by_depth)
343 #define hwloc_get_next_obj_by_type HWLOC_NAME(get_next_obj_by_type)
344 #define hwloc_get_pu_obj_by_os_index HWLOC_NAME(get_pu_obj_by_os_index)
345 #define hwloc_get_next_child HWLOC_NAME(get_next_child)
346 #define hwloc_get_common_ancestor_obj HWLOC_NAME(get_common_ancestor_obj)
347 #define hwloc_obj_is_in_subtree HWLOC_NAME(obj_is_in_subtree)
348 #define hwloc_get_first_largest_obj_inside_cpuset HWLOC_NAME(get_first_largest_obj_inside_cpuset)
349 #define hwloc_get_largest_objs_inside_cpuset HWLOC_NAME(get_largest_objs_inside_cpuset)
350 #define hwloc_get_next_obj_inside_cpuset_by_depth HWLOC_NAME(get_next_obj_inside_cpuset_by_depth)
351 #define hwloc_get_next_obj_inside_cpuset_by_type HWLOC_NAME(get_next_obj_inside_cpuset_by_type)
352 #define hwloc_get_obj_inside_cpuset_by_depth HWLOC_NAME(get_obj_inside_cpuset_by_depth)
353 #define hwloc_get_obj_inside_cpuset_by_type HWLOC_NAME(get_obj_inside_cpuset_by_type)
354 #define hwloc_get_nbobjs_inside_cpuset_by_depth HWLOC_NAME(get_nbobjs_inside_cpuset_by_depth)
355 #define hwloc_get_nbobjs_inside_cpuset_by_type HWLOC_NAME(get_nbobjs_inside_cpuset_by_type)
356 #define hwloc_get_child_covering_cpuset HWLOC_NAME(get_child_covering_cpuset)
357 #define hwloc_get_obj_covering_cpuset HWLOC_NAME(get_obj_covering_cpuset)
358 #define hwloc_get_next_obj_covering_cpuset_by_depth HWLOC_NAME(get_next_obj_covering_cpuset_by_depth)
359 #define hwloc_get_next_obj_covering_cpuset_by_type HWLOC_NAME(get_next_obj_covering_cpuset_by_type)
360 #define hwloc_get_cache_covering_cpuset HWLOC_NAME(get_cache_covering_cpuset)
361 #define hwloc_get_shared_cache_covering_obj HWLOC_NAME(get_shared_cache_covering_obj)
362 #define hwloc_get_closest_objs HWLOC_NAME(get_closest_objs)
363 #define hwloc_get_obj_below_by_type HWLOC_NAME(get_obj_below_by_type)
364 #define hwloc_get_obj_below_array_by_type HWLOC_NAME(get_obj_below_array_by_type)
365 #define hwloc_distributev HWLOC_NAME(distributev)
366 #define hwloc_distribute HWLOC_NAME(distribute)
367 #define hwloc_alloc_membind_policy HWLOC_NAME(alloc_membind_policy)
368 #define hwloc_alloc_membind_policy_nodeset HWLOC_NAME(alloc_membind_policy_nodeset)
369 #define hwloc_topology_get_complete_cpuset HWLOC_NAME(topology_get_complete_cpuset)
370 #define hwloc_topology_get_topology_cpuset HWLOC_NAME(topology_get_topology_cpuset)
371 #define hwloc_topology_get_online_cpuset HWLOC_NAME(topology_get_online_cpuset)
372 #define hwloc_topology_get_allowed_cpuset HWLOC_NAME(topology_get_allowed_cpuset)
373 #define hwloc_topology_get_complete_nodeset HWLOC_NAME(topology_get_complete_nodeset)
374 #define hwloc_topology_get_topology_nodeset HWLOC_NAME(topology_get_topology_nodeset)
375 #define hwloc_topology_get_allowed_nodeset HWLOC_NAME(topology_get_allowed_nodeset)
376 #define hwloc_cpuset_to_nodeset HWLOC_NAME(cpuset_to_nodeset)
377 #define hwloc_cpuset_to_nodeset_strict HWLOC_NAME(cpuset_to_nodeset_strict)
378 #define hwloc_cpuset_from_nodeset HWLOC_NAME(cpuset_from_nodeset)
379 #define hwloc_cpuset_from_nodeset_strict HWLOC_NAME(cpuset_from_nodeset_strict)
380 #define hwloc_get_whole_distance_matrix_by_depth HWLOC_NAME(get_whole_distance_matrix_by_depth)
381 #define hwloc_get_whole_distance_matrix_by_type HWLOC_NAME(get_whole_distance_matrix_by_type)
382 #define hwloc_get_distance_matrix_covering_obj_by_depth HWLOC_NAME(get_distance_matrix_covering_obj_by_depth)
383 #define hwloc_get_latency HWLOC_NAME(get_latency)
384 
385 /* glibc-sched.h */
386 
387 #define hwloc_cpuset_to_glibc_sched_affinity HWLOC_NAME(cpuset_to_glibc_sched_affinity)
388 #define hwloc_cpuset_from_glibc_sched_affinity HWLOC_NAME(cpuset_from_glibc_sched_affinity)
389 
390 /* linux-libnuma.h */
391 
392 #define hwloc_cpuset_to_linux_libnuma_ulongs HWLOC_NAME(cpuset_to_linux_libnuma_ulongs)
393 #define hwloc_nodeset_to_linux_libnuma_ulongs HWLOC_NAME(nodeset_to_linux_libnuma_ulongs)
394 #define hwloc_cpuset_from_linux_libnuma_ulongs HWLOC_NAME(cpuset_from_linux_libnuma_ulongs)
395 #define hwloc_nodeset_from_linux_libnuma_ulongs HWLOC_NAME(nodeset_from_linux_libnuma_ulongs)
396 #define hwloc_cpuset_to_linux_libnuma_bitmask HWLOC_NAME(cpuset_to_linux_libnuma_bitmask)
397 #define hwloc_nodeset_to_linux_libnuma_bitmask HWLOC_NAME(nodeset_to_linux_libnuma_bitmask)
398 #define hwloc_cpuset_from_linux_libnuma_bitmask HWLOC_NAME(cpuset_from_linux_libnuma_bitmask)
399 #define hwloc_nodeset_from_linux_libnuma_bitmask HWLOC_NAME(nodeset_from_linux_libnuma_bitmask)
400 #define hwloc_cpuset_to_linux_libnuma_nodemask HWLOC_NAME(cpuset_to_linux_libnuma_nodemask)
401 #define hwloc_nodeset_to_linux_libnuma_nodemask HWLOC_NAME(nodeset_to_linux_libnuma_nodemask)
402 #define hwloc_cpuset_from_linux_libnuma_nodemask HWLOC_NAME(cpuset_from_linux_libnuma_nodemask)
403 #define hwloc_nodeset_from_linux_libnuma_nodemask HWLOC_NAME(nodeset_from_linux_libnuma_nodemask)
404 
405 /* linux.h */
406 
407 #define hwloc_linux_parse_cpumap_file HWLOC_NAME(linux_parse_cpumap_file)
408 #define hwloc_linux_set_tid_cpubind HWLOC_NAME(linux_set_tid_cpubind)
409 #define hwloc_linux_get_tid_cpubind HWLOC_NAME(linux_get_tid_cpubind)
410 
411 /* openfabrics-verbs.h */
412 
413 #define hwloc_ibv_get_device_cpuset HWLOC_NAME(ibv_get_device_cpuset)
414 
415 /* myriexpress.h */
416 
417 #define hwloc_mx_board_get_device_cpuset HWLOC_NAME(mx_board_get_device_cpuset)
418 #define hwloc_mx_endpoint_get_device_cpuset HWLOC_NAME(mx_endpoint_get_device_cpuset)
419 
420 /* cuda.h */
421 
422 #define hwloc_cuda_get_device_cpuset HWLOC_NAME(cuda_get_device_cpuset)
423 
424 /* cudart.h */
425 
426 #define hwloc_cudart_get_device_cpuset HWLOC_NAME(cudart_get_device_cpuset)
427 
428 /* private/debug.h */
429 
430 #define hwloc_debug HWLOC_NAME(debug)
431 
432 /* private/misc.h */
433 
434 #define hwloc_snprintf HWLOC_NAME(snprintf)
435 #define hwloc_namecoloncmp HWLOC_NAME(namecoloncmp)
436 /* FIXME: hwloc_ffsl may be a macro, but it may not be defined yet */
437 #define hwloc_ffs32 HWLOC_NAME(ffs32)
438 /* FIXME: hwloc_flsl may be a macro, but it may not be defined yet */
439 #define hwloc_fls32 HWLOC_NAME(fls32)
440 #define hwloc_weight_long HWLOC_NAME(weight_long)
441 
442 /* private/cpuid.h */
443 
444 #define hwloc_have_cpuid HWLOC_NAME(have_cpuid)
445 #define hwloc_cpuid HWLOC_NAME(cpuid)
446 
447 /* private/private.h */
448 
449 #define hwloc_ignore_type_e HWLOC_NAME(ignore_type_e)
450 
451 #define HWLOC_IGNORE_TYPE_NEVER HWLOC_NAME_CAPS(IGNORE_TYPE_NEVER)
452 #define HWLOC_IGNORE_TYPE_KEEP_STRUCTURE HWLOC_NAME_CAPS(IGNORE_TYPE_KEEP_STRUCTURE)
453 #define HWLOC_IGNORE_TYPE_ALWAYS HWLOC_NAME_CAPS(IGNORE_TYPE_ALWAYS)
454 
455 #define hwloc_os_distances_s HWLOC_NAME(os_distances_s)
456 #define hwloc_backend_e HWLOC_NAME(backend_e)
457 #define hwloc_backend_t HWLOC_NAME(backend_t)
458 
459 #define HWLOC_BACKEND_NONE HWLOC_NAME_CAPS(BACKEND_NONE)
460 #define HWLOC_BACKEND_SYNTHETIC HWLOC_NAME_CAPS(BACKEND_SYNTHETIC)
461 #define HWLOC_BACKEND_SYSFS HWLOC_NAME_CAPS(BACKEND_SYSFS)
462 #define HWLOC_BACKEND_XML HWLOC_NAME_CAPS(BACKEND_XML)
463 #define HWLOC_BACKEND_MAX HWLOC_NAME_CAPS(BACKEND_MAX)
464 
465 #define hwloc_backend_params_u HWLOC_NAME(backend_params_u)
466 #define hwloc_backend_params_sysfs_s HWLOC_NAME(backend_params_sysfs_s)
467 #define hwloc_backend_params_osf HWLOC_NAME(backend_params_osf)
468 #define hwloc_backend_params_xml_s HWLOC_NAME(backend_params_xml_s)
469 #define hwloc_backend_params_synthetic_s HWLOC_NAME(backend_params_synthetic_s)
470 
471 #define hwloc_setup_pu_level HWLOC_NAME(setup_pu_level)
472 #define hwloc_setup_misc_level_from_distances HWLOC_NAME(setup_misc_level_from_distances)
473 #define hwloc_get_sysctlbyname HWLOC_NAME(get_sysctlbyname)
474 #define hwloc_get_sysctl HWLOC_NAME(get_sysctl)
475 #define hwloc_fallback_nbprocessors HWLOC_NAME(fallback_nbprocessors)
476 
477 #define hwloc_look_linux HWLOC_NAME(look_linux)
478 #define hwloc_set_linux_hooks HWLOC_NAME(set_linux_hooks)
479 #define hwloc_backend_sysfs_init HWLOC_NAME(backend_sysfs_init)
480 #define hwloc_backend_sysfs_exit HWLOC_NAME(backend_sysfs_exit)
481 
482 #define hwloc_backend_xml_init HWLOC_NAME(backend_xml_init)
483 #define hwloc_xml_check_distances HWLOC_NAME(xml_check_distances)
484 #define hwloc_look_xml HWLOC_NAME(look_xml)
485 #define hwloc_backend_xml_exit HWLOC_NAME(backend_xml_exit)
486 
487 #define hwloc_look_solaris HWLOC_NAME(look_solaris)
488 #define hwloc_set_solaris_hooks HWLOC_NAME(set_solaris_hooks)
489 
490 #define hwloc_look_aix HWLOC_NAME(look_aix)
491 #define hwloc_set_aix_hooks HWLOC_NAME(set_aix_hooks)
492 
493 #define hwloc_look_osf HWLOC_NAME(look_osf)
494 #define hwloc_set_osf_hooks HWLOC_NAME(set_osf_hooks)
495 
496 #define hwloc_look_windows HWLOC_NAME(look_windows)
497 #define hwloc_set_windows_hooks HWLOC_NAME(set_windows_hooks)
498 
499 #define hwloc_look_darwin HWLOC_NAME(look_darwin)
500 #define hwloc_set_darwin_hooks HWLOC_NAME(set_darwin_hooks)
501 
502 #define hwloc_look_freebsd HWLOC_NAME(look_freebsd)
503 #define hwloc_set_freebsd_hooks HWLOC_NAME(set_freebsd_hooks)
504 
505 #define hwloc_look_hpux HWLOC_NAME(look_hpux)
506 #define hwloc_set_hpux_hooks HWLOC_NAME(set_hpux_hooks)
507 
508 #define hwloc_look_libpci HWLOC_NAME(look_libpci)
509 
510 #define hwloc_look_x86 HWLOC_NAME(look_x86)
511 
512 #define hwloc_backend_synthetic_init HWLOC_NAME(backend_synthetic_init)
513 #define hwloc_backend_synthetic_exit HWLOC_NAME(backend_synthetic_exit)
514 #define hwloc_look_synthetic HWLOC_NAME(look_synthetic )
515 
516 #define hwloc_insert_object_by_cpuset HWLOC_NAME(insert_object_by_cpuset)
517 #define hwloc_report_error_t HWLOC_NAME(report_error_t)
518 #define hwloc_report_os_error HWLOC_NAME(report_os_error)
519 #define hwloc_hide_errors HWLOC_NAME(hide_errors)
520 #define hwloc__insert_object_by_cpuset HWLOC_NAME(_insert_object_by_cpuset)
521 #define hwloc_insert_object_by_parent HWLOC_NAME(insert_object_by_parent)
522 #define hwloc_add_uname_info HWLOC_NAME(add_uname_info)
523 #define hwloc_free_object HWLOC_NAME(free_object)
524 #define hwloc_bitmap_printf_value HWLOC_NAME(bitmap_printf_value)
525 #define hwloc_alloc_setup_object HWLOC_NAME(alloc_setup_object)
526 #define hwloc_free_unlinked_object HWLOC_NAME(free_unlinked_object)
527 #define hwloc_setup_level HWLOC_NAME(setup_level)
528 
529 #define hwloc_alloc_heap HWLOC_NAME(alloc_heap)
530 #define hwloc_alloc_mmap HWLOC_NAME(alloc_mmap)
531 #define hwloc_free_heap HWLOC_NAME(free_heap)
532 #define hwloc_free_mmap HWLOC_NAME(free_mmap)
533 #define hwloc_alloc_or_fail HWLOC_NAME(alloc_or_fail)
534 
535 #define hwloc_topology_distances_init HWLOC_NAME(topology_distances_init)
536 #define hwloc_topology_distances_clear HWLOC_NAME(topology_distances_clear)
537 #define hwloc_topology_distances_destroy HWLOC_NAME(topology_distances_destroy)
538 #define hwloc_topology__set_distance_matrix HWLOC_NAME(topology__set_distance_matrix)
539 #define hwloc_store_distances_from_env HWLOC_NAME(store_distances_from_env)
540 #define hwloc_convert_distances_indexes_into_objects HWLOC_NAME(convert_distances_indexes_into_objects)
541 #define hwloc_finalize_logical_distances HWLOC_NAME(finalize_logical_distances)
542 #define hwloc_restrict_distances HWLOC_NAME(restrict_distances)
543 #define hwloc_free_logical_distances HWLOC_NAME(free_logical_distances)
544 #define hwloc_group_by_distances HWLOC_NAME(group_by_distances)
545 
546 #endif /* HWLOC_SYM_TRANSFORM */
547 
548 
549 #ifdef __cplusplus
550 } /* extern "C" */
551 #endif
552 
553 
554 #endif /* HWLOC_RENAME_H */