|
@@ -51,8 +51,10 @@ unsigned _starpu_topology_get_nhwcpu(struct _starpu_machine_config *config);
|
|
/* returns the number of logical cpus */
|
|
/* returns the number of logical cpus */
|
|
unsigned _starpu_topology_get_nhwpu(struct _starpu_machine_config *config);
|
|
unsigned _starpu_topology_get_nhwpu(struct _starpu_machine_config *config);
|
|
|
|
|
|
|
|
+#ifdef STARPU_HAVE_HWLOC
|
|
/* Small convenient function to filter hwloc topology depending on HWLOC API version */
|
|
/* Small convenient function to filter hwloc topology depending on HWLOC API version */
|
|
void _starpu_topology_filter(hwloc_topology_t topology);
|
|
void _starpu_topology_filter(hwloc_topology_t topology);
|
|
|
|
+#endif
|
|
|
|
|
|
#define STARPU_NOWORKERID -1
|
|
#define STARPU_NOWORKERID -1
|
|
/* Bind the current thread on the CPU logically identified by "cpuid". The
|
|
/* Bind the current thread on the CPU logically identified by "cpuid". The
|