Pārlūkot izejas kodu

src/: small fixes for starpu_clusters

Nathalie Furmento 9 gadi atpakaļ
vecāks
revīzija
9b9fb0427d

+ 2 - 2
src/common/utils.h

@@ -1,7 +1,7 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
  * Copyright (C) 2010, 2012-2015  Université de Bordeaux
- * Copyright (C) 2010, 2011, 2012, 2013  CNRS
+ * Copyright (C) 2010, 2011, 2012, 2013, 2015  CNRS
  *
  * StarPU is free software; you can redistribute it and/or modify
  * it under the terms of the GNU Lesser General Public License as published by
@@ -18,8 +18,8 @@
 #ifndef __COMMON_UTILS_H__
 #define __COMMON_UTILS_H__
 
-#include <starpu.h>
 #include <common/config.h>
+#include <starpu.h>
 #include <sys/stat.h>
 #include <string.h>
 #include <stdlib.h>

+ 1 - 1
src/util/starpu_clusters_create.c

@@ -19,7 +19,7 @@
 /* This file creates an interface to manage clustering resources and make use
  * of parallel tasks. It entirely depends on the hwloc software. */
 
-#include "starpu_clusters_create.h"
+#include <util/starpu_clusters_create.h>
 
 starpu_binding_function _starpu_cluster_type_get_func(starpu_cluster_types type)
 {

+ 8 - 8
src/util/starpu_clusters_create.h

@@ -19,7 +19,7 @@
 #ifndef __STARPU_CLUSTERS_CREATE_H__
 #define __STARPU_CLUSTERS_CREATE_H__
 
-#include "starpu_clusters_util.h"
+#include <starpu.h>
 #include <core/workers.h>
 #include <common/list.h>
 #include <string.h>
@@ -48,13 +48,13 @@ struct _starpu_cluster_parameters
 };
 
 LIST_TYPE(_starpu_cluster_group,
-		  unsigned id;
-		  hwloc_obj_t group_obj;
-		  int nclusters;
-		  struct _starpu_cluster_list* clusters;
-		  struct starpu_cluster_machine* father;
-		  struct _starpu_cluster_parameters* params;
-		);
+	  unsigned id;
+	  hwloc_obj_t group_obj;
+	  int nclusters;
+	  struct _starpu_cluster_list* clusters;
+	  struct starpu_cluster_machine* father;
+	  struct _starpu_cluster_parameters* params;
+)
 
 LIST_TYPE(_starpu_cluster,
 		  unsigned id;