Browse Source

fix bug when using mp without mic

Thibaud Lambert 12 years ago
parent
commit
9aeb667e42
1 changed files with 1 additions and 1 deletions
  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