@@ -1,6 +1,6 @@
/* StarPU --- Runtime system for heterogeneous multicore architectures.
*
- * Copyright (C) 2010 Université de Bordeaux 1
+ * Copyright (C) 2010, 2012 Université de Bordeaux 1
* Copyright (C) 2012 Centre National de la Recherche Scientifique
* StarPU is free software; you can redistribute it and/or modify
@@ -24,7 +24,11 @@
#include <stdlib.h>
#include "../helper.h"
+#ifdef STARPU_SLOW_MACHINE
+#define NLOOPS 100
+#else
#define NLOOPS 1000
+#endif
#define VECTORSIZE 1024
static starpu_data_handle_t v_handle;
- * Copyright (C) 2010-2011 Université de Bordeaux 1
+ * Copyright (C) 2010-2012 Université de Bordeaux 1
* Copyright (C) 2010 Mehdi Juhoor <mjuhoor@gmail.com>
* Copyright (C) 2010, 2011, 2012 Centre National de la Recherche Scientifique
@@ -23,7 +23,11 @@
-#define NITER 1000
+#define NLOOPS 1000
float *buffer;
- * Copyright (C) 2009-2011 Université de Bordeaux 1
+ * Copyright (C) 2009-2012 Université de Bordeaux 1
#include <pthread.h>
-#define N 1000
+#define N 100
+#define N 1000
@@ -93,6 +93,10 @@ int main(int argc, char **argv)
struct timeval start;
struct timeval end;
+ ntasks = 128;
+
parse_args(argc, argv);
ret = starpu_init(NULL);