Quellcode durchsuchen

fix include order

Nathalie Furmento vor 6 Jahren
Ursprung
Commit
2d0466644a
2 geänderte Dateien mit 5 neuen und 3 gelöschten Zeilen
  1. 3 1
      include/starpu.h
  2. 2 2
      src/common/barrier.c

+ 3 - 1
include/starpu.h

@@ -55,9 +55,11 @@ typedef INT_PTR intptr_t;
 #include <starpu_data_interfaces.h>
 #include <starpu_data_filters.h>
 #include <starpu_stdlib.h>
+#include <starpu_task_bundle.h>
+#include <starpu_task.h>
+#include <starpu_worker.h>
 #include <starpu_perfmodel.h>
 #include <starpu_worker.h>
-#include <starpu_task.h>
 #ifndef BUILDING_STARPU
 #include <starpu_task_list.h>
 #endif

+ 2 - 2
src/common/barrier.c

@@ -1,7 +1,7 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
  * Copyright (C) 2013                                     Inria
- * Copyright (C) 2010-2015,2017                           CNRS
+ * Copyright (C) 2010-2015,2017,2019                      CNRS
  * Copyright (C) 2011,2014,2017                           Université de Bordeaux
  *
  * StarPU is free software; you can redistribute it and/or modify
@@ -16,9 +16,9 @@
  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  */
 
+#include <starpu.h>
 #include <common/barrier.h>
 #include <common/utils.h>
-#include <starpu_thread_util.h>
 
 int _starpu_barrier_init(struct _starpu_barrier *barrier, int count)
 {