Explorar el Código

use STARPU_MAIN_RAM instead of 0

Corentin Salingue hace 8 años
padre
commit
69ad08f9ce
Se han modificado 1 ficheros con 1 adiciones y 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);