浏览代码

Merge branch 'master' into peager

Olivier Aumage 7 年之前
父节点
当前提交
ceb276b68b
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 2 2
      mpi/include/starpu_mpi.h
  2. 2 2
      src/core/workers.c

+ 2 - 2
mpi/include/starpu_mpi.h

@@ -1,7 +1,7 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
  * Copyright (C) 2009-2012,2014-2017                      Université de Bordeaux
- * Copyright (C) 2010-2017                                CNRS
+ * Copyright (C) 2010-2018                                CNRS
  * Copyright (C) 2016                                     Inria
  *
  * StarPU is free software; you can redistribute it and/or modify
@@ -140,7 +140,7 @@ int starpu_mpi_datatype_unregister(starpu_data_handle_t handle);
 int starpu_mpi_pre_submit_hook_register(void (*f)(struct starpu_task *));
 int starpu_mpi_pre_submit_hook_unregister();
 
-#define STARPU_MPI_TAG_UB 1
+#define STARPU_MPI_TAG_UB MPI_TAG_UB
 int starpu_mpi_comm_get_attr(MPI_Comm comm, int keyval, void *attribute_val, int *flag);
 
 #ifdef __cplusplus

+ 2 - 2
src/core/workers.c

@@ -1,7 +1,7 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
  * Copyright (C) 2010-2017                                Inria
- * Copyright (C) 2008-2017                                Université de Bordeaux
+ * Copyright (C) 2008-2018                                Université de Bordeaux
  * Copyright (C) 2010-2017                                CNRS
  * Copyright (C) 2013                                     Thibaut Lambert
  * Copyright (C) 2011                                     Télécom-SudParis
@@ -2443,7 +2443,7 @@ void starpu_worker_relax_on(void)
 
 void starpu_worker_relax_off(void)
 {
-	starpu_worker_relax_off();
+	_starpu_worker_relax_off();
 }
 
 int starpu_worker_get_relax_state(void)