|
@@ -542,7 +542,7 @@ unsigned top_per_worker[STARPU_NMAXWORKERS];
|
|
|
unsigned bottom_per_worker[STARPU_NMAXWORKERS];
|
|
|
|
|
|
/* top save, CPU version */
|
|
|
-void dummy_func_top_cpu(void *descr[] __attribute__((unused)), void *arg)
|
|
|
+void dummy_func_top_cpu(void *descr[] STARPU_ATTRIBUTE_UNUSED, void *arg)
|
|
|
{
|
|
|
struct block_description *block = (struct block_description *) arg;
|
|
|
int workerid = starpu_worker_get_id();
|
|
@@ -558,7 +558,7 @@ void dummy_func_top_cpu(void *descr[] __attribute__((unused)), void *arg)
|
|
|
}
|
|
|
|
|
|
/* bottom save, CPU version */
|
|
|
-void dummy_func_bottom_cpu(void *descr[] __attribute__((unused)), void *arg)
|
|
|
+void dummy_func_bottom_cpu(void *descr[] STARPU_ATTRIBUTE_UNUSED, void *arg)
|
|
|
{
|
|
|
struct block_description *block = (struct block_description *) arg;
|
|
|
int workerid = starpu_worker_get_id();
|
|
@@ -572,7 +572,7 @@ void dummy_func_bottom_cpu(void *descr[] __attribute__((unused)), void *arg)
|
|
|
|
|
|
/* top save, CUDA version */
|
|
|
#ifdef STARPU_USE_CUDA
|
|
|
-static void dummy_func_top_cuda(void *descr[] __attribute__((unused)), void *arg)
|
|
|
+static void dummy_func_top_cuda(void *descr[] STARPU_ATTRIBUTE_UNUSED, void *arg)
|
|
|
{
|
|
|
struct block_description *block = (struct block_description *) arg;
|
|
|
int workerid = starpu_worker_get_id();
|
|
@@ -589,7 +589,7 @@ static void dummy_func_top_cuda(void *descr[] __attribute__((unused)), void *arg
|
|
|
}
|
|
|
|
|
|
/* bottom save, CUDA version */
|
|
|
-static void dummy_func_bottom_cuda(void *descr[] __attribute__((unused)), void *arg)
|
|
|
+static void dummy_func_bottom_cuda(void *descr[] STARPU_ATTRIBUTE_UNUSED, void *arg)
|
|
|
{
|
|
|
struct block_description *block = (struct block_description *) arg;
|
|
|
int workerid = starpu_worker_get_id();
|
|
@@ -605,7 +605,7 @@ static void dummy_func_bottom_cuda(void *descr[] __attribute__((unused)), void *
|
|
|
|
|
|
/* top save, OpenCL version */
|
|
|
#ifdef STARPU_USE_OPENCL
|
|
|
-static void dummy_func_top_opencl(void *descr[] __attribute__((unused)), void *arg)
|
|
|
+static void dummy_func_top_opencl(void *descr[] STARPU_ATTRIBUTE_UNUSED, void *arg)
|
|
|
{
|
|
|
struct block_description *block = (struct block_description *) arg;
|
|
|
int workerid = starpu_worker_get_id();
|
|
@@ -625,7 +625,7 @@ static void dummy_func_top_opencl(void *descr[] __attribute__((unused)), void *a
|
|
|
}
|
|
|
|
|
|
/* bottom save, OPENCL version */
|
|
|
-static void dummy_func_bottom_opencl(void *descr[] __attribute__((unused)), void *arg)
|
|
|
+static void dummy_func_bottom_opencl(void *descr[] STARPU_ATTRIBUTE_UNUSED, void *arg)
|
|
|
{
|
|
|
struct block_description *block = (struct block_description *) arg;
|
|
|
int workerid = starpu_worker_get_id();
|