1
1
/*
2
2
* Copyright (c) 2011-2017 Cisco Systems, Inc. All rights reserved
3
- * Copyright (c) 2013-2017 Intel, Inc. All rights reserved.
3
+ * Copyright (c) 2013-2020 Intel, Inc. All rights reserved.
4
4
* Copyright (c) 2017 Research Organization for Information Science
5
5
* and Technology (RIST). All rights reserved.
6
6
* $COPYRIGHT$
@@ -175,46 +175,20 @@ OPAL_DECLSPEC unsigned int opal_hwloc_base_get_nbobjs_by_type(hwloc_topology_t t
175
175
hwloc_obj_type_t target ,
176
176
unsigned cache_level ,
177
177
opal_hwloc_resource_type_t rtype );
178
- OPAL_DECLSPEC void opal_hwloc_base_clear_usage (hwloc_topology_t topo );
179
178
180
179
OPAL_DECLSPEC hwloc_obj_t opal_hwloc_base_get_obj_by_type (hwloc_topology_t topo ,
181
180
hwloc_obj_type_t target ,
182
181
unsigned cache_level ,
183
182
unsigned int instance ,
184
183
opal_hwloc_resource_type_t rtype );
185
- OPAL_DECLSPEC unsigned int opal_hwloc_base_get_obj_idx (hwloc_topology_t topo ,
186
- hwloc_obj_t obj ,
187
- opal_hwloc_resource_type_t rtype );
188
184
189
- OPAL_DECLSPEC int opal_hwloc_get_sorted_numa_list (hwloc_topology_t topo ,
190
- char * device_name ,
191
- opal_list_t * sorted_list );
192
-
193
- /**
194
- * Get the number of pu's under a given hwloc object.
195
- */
196
- OPAL_DECLSPEC unsigned int opal_hwloc_base_get_npus (hwloc_topology_t topo ,
197
- hwloc_obj_t target );
198
185
OPAL_DECLSPEC char * opal_hwloc_base_print_binding (opal_binding_policy_t binding );
199
186
200
187
/**
201
188
* Determine if there is a single cpu in a bitmap.
202
189
*/
203
190
OPAL_DECLSPEC bool opal_hwloc_base_single_cpu (hwloc_cpuset_t cpuset );
204
191
205
- /**
206
- * Provide a utility to parse a slot list against the local
207
- * cpus of given type, and produce a cpuset for the described binding
208
- */
209
- OPAL_DECLSPEC int opal_hwloc_base_cpu_list_parse (const char * slot_str ,
210
- hwloc_topology_t topo ,
211
- opal_hwloc_resource_type_t rtype ,
212
- hwloc_cpuset_t cpumask );
213
-
214
- OPAL_DECLSPEC char * opal_hwloc_base_find_coprocessors (hwloc_topology_t topo );
215
- OPAL_DECLSPEC char * opal_hwloc_base_check_on_coprocessor (void );
216
-
217
-
218
192
/**
219
193
* Report a bind failure using the normal mechanisms if a component
220
194
* fails to bind memory -- according to the value of the
@@ -243,23 +217,6 @@ OPAL_DECLSPEC int opal_hwloc_base_node_name_to_id(char *node_name, int *id);
243
217
OPAL_DECLSPEC int opal_hwloc_base_memory_set (opal_hwloc_base_memory_segment_t * segments ,
244
218
size_t num_segments );
245
219
246
- /* datatype support */
247
- OPAL_DECLSPEC int opal_hwloc_pack (opal_buffer_t * buffer , const void * src ,
248
- int32_t num_vals ,
249
- opal_data_type_t type );
250
- OPAL_DECLSPEC int opal_hwloc_unpack (opal_buffer_t * buffer , void * dest ,
251
- int32_t * num_vals ,
252
- opal_data_type_t type );
253
- OPAL_DECLSPEC int opal_hwloc_copy (hwloc_topology_t * dest ,
254
- hwloc_topology_t src ,
255
- opal_data_type_t type );
256
- OPAL_DECLSPEC int opal_hwloc_compare (const hwloc_topology_t topo1 ,
257
- const hwloc_topology_t topo2 ,
258
- opal_data_type_t type );
259
- OPAL_DECLSPEC int opal_hwloc_print (char * * output , char * prefix ,
260
- hwloc_topology_t src ,
261
- opal_data_type_t type );
262
-
263
220
/**
264
221
* Make a prettyprint string for a hwloc_cpuset_t (e.g., "socket
265
222
* 2[core 3]").
@@ -285,11 +242,6 @@ OPAL_DECLSPEC hwloc_obj_t opal_hwloc_base_get_pu(hwloc_topology_t topo,
285
242
int lid ,
286
243
opal_hwloc_resource_type_t rtype );
287
244
288
- /* get the topology "signature" so we can check for differences - caller
289
- * if responsible for freeing the returned string */
290
- OPAL_DECLSPEC char * opal_hwloc_base_get_topo_signature (hwloc_topology_t topo );
291
-
292
-
293
245
/* get a string describing the locality of a given process */
294
246
OPAL_DECLSPEC char * opal_hwloc_base_get_locality_string (hwloc_topology_t topo , char * bitmap );
295
247
@@ -300,8 +252,6 @@ OPAL_DECLSPEC char* opal_hwloc_base_get_location(char *locality,
300
252
301
253
OPAL_DECLSPEC opal_hwloc_locality_t opal_hwloc_compute_relative_locality (char * loc1 , char * loc2 );
302
254
303
- OPAL_DECLSPEC int opal_hwloc_base_topology_export_xmlbuffer (hwloc_topology_t topology , char * * xmlpath , int * buflen );
304
-
305
255
OPAL_DECLSPEC int opal_hwloc_base_topology_set_flags (hwloc_topology_t topology , unsigned long flags , bool io );
306
256
END_C_DECLS
307
257
0 commit comments