浏览代码

fix MP non-MIC build

Samuel Thibault 12 年之前
父节点
当前提交
2aacbe9ac5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/core/combined_workers.c

+ 1 - 1
src/core/combined_workers.c

@@ -113,7 +113,7 @@ int starpu_combined_worker_assign_workerid(int nworkers, int workerid_array[])
 		combined_worker->perf_arch = (enum starpu_perfmodel_archtype) (STARPU_CPU_DEFAULT + nworkers - 1);
 		combined_worker->worker_mask = STARPU_CPU;
 	}
-#ifdef STARPU_USE_MIC 
+#ifdef STARPU_USE_MP
 	combined_worker->count = nworkers -1;
 	pthread_mutex_init(&combined_worker->count_mutex,NULL);
 #endif