Procházet zdrojové kódy

mpi/examples: add missing include for valgrind

Nathalie Furmento před 5 roky
rodič
revize
5ddf9d3183

+ 4 - 0
mpi/examples/matrix_decomposition/mpi_decomposition_params.c

@@ -21,6 +21,10 @@
 #include <stdio.h>
 #include <math.h>
 
+#ifdef STARPU_HAVE_VALGRIND_H
+#include <valgrind/valgrind.h>
+#endif
+
 #ifdef STARPU_QUICK_CHECK
 unsigned size = 2*320;
 unsigned nblocks = 2;

+ 4 - 0
mpi/examples/mpi_lu/plu_example.c

@@ -30,6 +30,10 @@
 #include <numaif.h>
 #endif
 
+#ifdef STARPU_HAVE_VALGRIND_H
+#include <valgrind/valgrind.h>
+#endif
+
 static unsigned long size = 4096;
 static unsigned nblocks = 16;
 static unsigned check = 0;

+ 4 - 0
mpi/examples/mpi_lu/plu_implicit_example.c

@@ -30,6 +30,10 @@
 #include <numaif.h>
 #endif
 
+#ifdef STARPU_HAVE_VALGRIND_H
+#include <valgrind/valgrind.h>
+#endif
+
 static unsigned long size = 4096;
 static unsigned nblocks = 16;
 static unsigned check = 0;

+ 4 - 0
mpi/examples/mpi_lu/plu_outofcore_example.c

@@ -33,6 +33,10 @@
 #include <numaif.h>
 #endif
 
+#ifdef STARPU_HAVE_VALGRIND_H
+#include <valgrind/valgrind.h>
+#endif
+
 static unsigned long size = 4096;
 static unsigned nblocks = 16;
 static unsigned check = 0;