瀏覽代碼

fix bug when MPI Master Slave is activated, but without GPUs

Corentin Salingue 8 年之前
父節點
當前提交
f60e27b897
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/core/topology.c

+ 1 - 1
src/core/topology.c

@@ -58,7 +58,7 @@ static int nobind;
 /* For checking whether two workers share the same PU, indexed by PU number */
 /* For checking whether two workers share the same PU, indexed by PU number */
 static int cpu_worker[STARPU_MAXCPUS];
 static int cpu_worker[STARPU_MAXCPUS];
 
 
-#if defined(STARPU_USE_CUDA) || defined(STARPU_USE_OPENCL) || defined(STARPU_USE_SCC) || defined(STARPU_SIMGRID)
+#if defined(STARPU_USE_CUDA) || defined(STARPU_USE_OPENCL) || defined(STARPU_USE_SCC) || defined(STARPU_SIMGRID) || defined(STARPU_USE_MPI_MASTER_SLAVE)
 
 
 struct handle_entry
 struct handle_entry
 {
 {