@@ -50,6 +50,9 @@ int main(int argc, char **argv)
// struct timeval start;
// struct timeval end;
+#ifdef STARPU_HAVE_WINDOWS
+ ntasks /= 8;
+#endif
starpu_init(NULL);
fprintf(stderr, "#tasks : %d\n", ntasks);
@@ -61,6 +61,9 @@ int main(int argc, char **argv)
{
int i;
+ ntasks /= 10;
starpu_variable_data_register(&token_handle, 0, (uintptr_t)&token, sizeof(unsigned));
@@ -25,7 +25,11 @@
#include <hwloc.h>
#endif
-#define BLOCK_SIZE (64*1024*1024)
+# define BLOCK_SIZE (64*1024)
+#else
+# define BLOCK_SIZE (64*1024*1024)
static unsigned ntasks = 1000;