瀏覽代碼

fix bug when using mp without mic

Thibaud Lambert 12 年之前
父節點
當前提交
9aeb667e42
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/core/workers.h

+ 1 - 1
src/core/workers.h

@@ -123,7 +123,7 @@ struct _starpu_combined_worker
 	int worker_size;
 	unsigned memory_node; /* which memory node is associated that worker to ? */
 	int combined_workerid[STARPU_NMAXWORKERS];
-#ifdef STARPU_USE_MIC 
+#ifdef STARPU_USE_MP
 	int count;
 	pthread_mutex_t count_mutex;
 #endif