|
@@ -1,6 +1,6 @@
|
|
|
/* StarPU --- Runtime system for heterogeneous multicore architectures.
|
|
|
*
|
|
|
- * Copyright (C) 2010, 2012-2013 Université de Bordeaux 1
|
|
|
+ * Copyright (C) 2010, 2012-2014 Université de Bordeaux 1
|
|
|
* Copyright (C) 2010, 2011, 2012, 2013 Centre National de la Recherche Scientifique
|
|
|
*
|
|
|
* StarPU is free software; you can redistribute it and/or modify
|
|
@@ -51,6 +51,9 @@
|
|
|
#ifndef VALGRIND_HG_ENABLE_CHECKING
|
|
|
#define VALGRIND_HG_ENABLE_CHECKING(start, len) ((void)0)
|
|
|
#endif
|
|
|
+#ifndef RUNNING_ON_VALGRIND
|
|
|
+#define RUNNING_ON_VALGRIND 0
|
|
|
+#endif
|
|
|
#define STARPU_HG_DISABLE_CHECKING(variable) VALGRIND_HG_DISABLE_CHECKING(&(variable), sizeof(variable))
|
|
|
#define STARPU_HG_ENABLE_CHECKING(variable) VALGRIND_HG_ENABLE_CHECKING(&(variable), sizeof(variable))
|
|
|
|