Explorar o código

use STARPU_MAIN_RAM instead of 0

Corentin Salingue %!s(int64=8) %!d(string=hai) anos
pai
achega
69ad08f9ce
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/topology.c

+ 1 - 1
src/core/topology.c

@@ -66,7 +66,7 @@ static unsigned numa_numaphysid[STARPU_MAXNODES]; /* indexed by starpu memory no
 #ifdef STARPU_USE_NUMA
 static int _starpu_worker_numa_node(unsigned workerid);
 #else
-#define _starpu_worker_numa_node(workerid) 0
+#define _starpu_worker_numa_node(workerid) STARPU_MAIN_RAM
 #endif
 static int _starpu_numa_logid_get_physid(unsigned logid);