@@ -23,8 +23,6 @@
#include <starpu.h>
#include "../common/helper.h"
-#define FPRINTF(ofile, fmt, args ...) do { if (!getenv("STARPU_SSILENT")) {fprintf(ofile, fmt, ##args); }} while(0)
-
static unsigned ntasks = 65536;
static void usage(char **argv)
@@ -21,8 +21,6 @@
static void check_task_func(void *descr[], void *arg)
@@ -17,8 +17,6 @@
void func_cpu(void *descr[], void *_args)
{
int *x0 = (int *)STARPU_VARIABLE_GET_PTR(descr[0]);
@@ -22,8 +22,6 @@
static unsigned cnt = 0;
@@ -24,8 +24,6 @@
#define N 10
struct timeval start;
static void dummy_func(void *descr[] __attribute__ ((unused)), void *arg __attribute__ ((unused)))
#include <unistd.h>
static void dummy_func(void *descr[], void *arg)
static starpu_tag_t tag = 0x32;
/* This is equivalent to calling starpu_task_init later on */
struct starpu_task task = STARPU_TASK_INITIALIZER;
}
static unsigned ntasks = 1024;
static void callback(void *arg)
unsigned token = 0;
starpu_data_handle token_handle;
#define M 4
#define X 2
void which_index_cpu(void *descr[], void *_args)
@@ -18,8 +18,6 @@
static unsigned ntasks = 10000;
#ifdef STARPU_USE_CUDA
static unsigned ntasks = 40000;
static unsigned nloops = 1000;
@@ -23,7 +23,6 @@
#define VECTORSIZE 1024
static unsigned *A, *B, *C, *D;
starpu_data_handle A_handle, B_handle, C_handle, D_handle;
@@ -24,7 +24,6 @@
#define NLOOPS 1000
static starpu_data_handle v_handle;
starpu_data_handle fork_handles[N];
unsigned forks[N];
static void eat_kernel(void *descr[], void *arg)
@@ -26,7 +26,6 @@
#define INIT_VALUE 42
#define NTASKS 10000
static unsigned variable;
static starpu_data_handle variable_handle;
@@ -32,7 +32,6 @@
#else
# define BLOCK_SIZE (64*1024*1024)
#endif
static unsigned ntasks = 1000;
@@ -28,7 +28,6 @@
#define N 100
#define K 256
/*
* In this test, we maintain a vector v = (a,b,c).
@@ -30,7 +30,6 @@
//#define N 1
//#define K 1
#include <stdlib.h>
struct timeval end;