|
@@ -2,7 +2,7 @@
|
|
|
*
|
|
|
* Copyright (C) 2015 Inria
|
|
|
* Copyright (C) 2010-2013,2016,2017 CNRS
|
|
|
- * Copyright (C) 2010-2012,2015-2017 Université de Bordeaux
|
|
|
+ * Copyright (C) 2010-2012,2015-2017, 2019 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
|
|
@@ -35,8 +35,10 @@ int main(void)
|
|
|
#include <hwloc.h>
|
|
|
|
|
|
#ifdef STARPU_QUICK_CHECK
|
|
|
+#define CPUSTEP 8
|
|
|
#define NB_TESTS 1
|
|
|
#else
|
|
|
+#define CPUSTEP 1
|
|
|
#define NB_TESTS 5
|
|
|
#endif
|
|
|
|
|
@@ -176,7 +178,7 @@ int main(void)
|
|
|
/* Evaluate several random values of STARPU_WORKERS_CPUID
|
|
|
* and check mapping for each one
|
|
|
*/
|
|
|
- for (i=1; i<=nhwpus; i++)
|
|
|
+ for (i=1; i<=nhwpus; i += CPUSTEP)
|
|
|
{
|
|
|
int j;
|
|
|
for (j=0; j<NB_TESTS; j++)
|