Explorar o código

Fix build without valgrind

Samuel Thibault %!s(int64=5) %!d(string=hai) anos
pai
achega
ed5c7aabe5
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      examples/tag_example/tag_example.c

+ 2 - 0
examples/tag_example/tag_example.c

@@ -222,11 +222,13 @@ int main(int argc, char **argv)
 {
 	int ret;
 
+#ifdef STARPU_HAVE_HELGRIND_H
 	if (RUNNING_ON_VALGRIND) {
 		ni /= 2;
 		nj /= 2;
 		nk /= 2;
 	}
+#endif
 
 	ret = starpu_init(NULL);
 	if (ret == -ENODEV)