浏览代码

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
 #ifdef STARPU_USE_NUMA
 static int _starpu_worker_numa_node(unsigned workerid);
 static int _starpu_worker_numa_node(unsigned workerid);
 #else
 #else
-#define _starpu_worker_numa_node(workerid) 0
+#define _starpu_worker_numa_node(workerid) STARPU_MAIN_RAM
 #endif
 #endif
 static int _starpu_numa_logid_get_physid(unsigned logid);
 static int _starpu_numa_logid_get_physid(unsigned logid);