Simon Archipoff před 12 roky
rodič
revize
aecb30d21d
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      src/sched_policies/node_worker.c

+ 2 - 2
src/sched_policies/node_worker.c

@@ -541,7 +541,7 @@ static struct _starpu_sched_node * _starpu_sched_node_worker_create(int workerid
 
 #ifdef STARPU_HAVE_HWLOC
 	struct _starpu_machine_config *config = _starpu_get_machine_config();
-	struct starpu_machine_topology *topology = &config->topology;
+	struct _starpu_machine_topology *topology = &config->topology;
 	hwloc_obj_t obj = hwloc_get_obj_by_depth(topology->hwtopology, config->cpu_depth, worker->bindid);
 	STARPU_ASSERT(obj);
 	node->obj = obj;
@@ -579,7 +579,7 @@ static struct _starpu_sched_node  * _starpu_sched_node_combined_worker_create(in
 
 #ifdef STARPU_HAVE_HWLOC
 	struct _starpu_machine_config *config = _starpu_get_machine_config();
-	struct starpu_machine_topology *topology = &config->topology;
+	struct _starpu_machine_topology *topology = &config->topology;
 	hwloc_obj_t obj = hwloc_get_obj_by_depth(topology->hwtopology, config->cpu_depth, combined_worker->combined_workerid[0]);
 	STARPU_ASSERT(obj);
 	node->obj = obj;