Sfoglia il codice sorgente

use STARPU_MAIN_RAM instead of 0

Corentin Salingue 8 anni fa
parent
commit
69ad08f9ce
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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);