Просмотр исходного кода

fix bug when using mp without mic

Thibaud Lambert лет назад: 12
Родитель
Сommit
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;
 	int worker_size;
 	unsigned memory_node; /* which memory node is associated that worker to ? */
 	unsigned memory_node; /* which memory node is associated that worker to ? */
 	int combined_workerid[STARPU_NMAXWORKERS];
 	int combined_workerid[STARPU_NMAXWORKERS];
-#ifdef STARPU_USE_MIC 
+#ifdef STARPU_USE_MP
 	int count;
 	int count;
 	pthread_mutex_t count_mutex;
 	pthread_mutex_t count_mutex;
 #endif
 #endif