瀏覽代碼

use STARPU_MAIN_RAM instead of 0

Corentin Salingue 8 年之前
父節點
當前提交
69ad08f9ce
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);