Browse Source

Make tests faster with quickcheck

Samuel Thibault 10 years ago
parent
commit
84dd16df52

+ 5 - 1
tests/parallel_tasks/explicit_combined_worker.c

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
- * Copyright (C) 2010, 2012, 2014  Université de Bordeaux
+ * Copyright (C) 2010, 2012, 2014-2015  Université de Bordeaux
  * Copyright (C) 2010, 2011, 2012, 2013  Centre National de la Recherche Scientifique
  *
  * StarPU is free software; you can redistribute it and/or modify
@@ -21,7 +21,11 @@
 #include <unistd.h>
 #include "../helper.h"
 
+#ifdef STARPU_QUICK_CHECK
 #define N	1000
+#else
+#define N	100
+#endif
 #define VECTORSIZE	1024
 
 void codelet_null(void *descr[], STARPU_ATTRIBUTE_UNUSED void *_args)

+ 5 - 1
tests/parallel_tasks/parallel_kernels.c

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
- * Copyright (C) 2010, 2012  Université de Bordeaux
+ * Copyright (C) 2010, 2012, 2015  Université de Bordeaux
  * Copyright (C) 2010, 2011, 2012, 2013  Centre National de la Recherche Scientifique
  *
  * StarPU is free software; you can redistribute it and/or modify
@@ -21,7 +21,11 @@
 #include <unistd.h>
 #include "../helper.h"
 
+#ifdef STARPU_QUICK_CHECK
 #define N	1000
+#else
+#define N	100
+#endif
 #define VECTORSIZE	1024
 
 void codelet_null(void *descr[], STARPU_ATTRIBUTE_UNUSED void *_args)

+ 5 - 1
tests/parallel_tasks/parallel_kernels_spmd.c

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
- * Copyright (C) 2010, 2012  Université de Bordeaux
+ * Copyright (C) 2010, 2012, 2015  Université de Bordeaux
  * Copyright (C) 2010, 2011, 2012, 2013  Centre National de la Recherche Scientifique
  *
  * StarPU is free software; you can redistribute it and/or modify
@@ -21,7 +21,11 @@
 #include <unistd.h>
 #include "../helper.h"
 
+#ifdef STARPU_QUICK_CHECK
 #define N	1000
+#else
+#define N	100
+#endif
 #define VECTORSIZE	1024
 
 void codelet_null(void *descr[], STARPU_ATTRIBUTE_UNUSED void *_args)

+ 5 - 1
tests/parallel_tasks/spmd_peager.c

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
- * Copyright (C) 2011  Université de Bordeaux
+ * Copyright (C) 2011, 2015  Université de Bordeaux
  *
  * 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
@@ -20,7 +20,11 @@
 #include <unistd.h>
 #include "../helper.h"
 
+#ifdef STARPU_QUICK_CHECK
 #define N	1000
+#else
+#define N	100
+#endif
 #define VECTORSIZE	1024
 
 starpu_data_handle_t v_handle;