Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as C by Nathalie ( 15 years ago )
Index: include/starpu_task.h
===================================================================
--- include/starpu_task.h (revision 3272)
+++ include/starpu_task.h (working copy)
@@ -92,7 +92,7 @@
/* arguments managed by the DSM */
struct starpu_buffer_descr_t buffers[STARPU_NMAXBUFS];
- void *interface[STARPU_NMAXBUFS];
+ void *interfaces[STARPU_NMAXBUFS];
/* arguments not managed by the DSM are given as a buffer */
void *cl_arg;
Index: src/datawizard/coherency.c
===================================================================
--- src/datawizard/coherency.c (revision 3272)
+++ src/datawizard/coherency.c (working copy)
@@ -449,7 +449,7 @@
if (STARPU_UNLIKELY(ret))
goto enomem;
- task->interface[index] = local_replicate->data_interface;
+ task->interfaces[index] = local_replicate->data_interface;
if (mode & STARPU_REDUX)
{
Index: src/drivers/opencl/driver_opencl.c
===================================================================
--- src/drivers/opencl/driver_opencl.c (revision 3272)
+++ src/drivers/opencl/driver_opencl.c (working copy)
@@ -526,7 +526,7 @@
cl_func func = cl->opencl_func;
STARPU_ASSERT(func);
- func(task->interface, task->cl_arg);
+ func(task->interfaces, task->cl_arg);
cl->per_worker_stats[workerid]++;
Index: src/drivers/cpu/driver_cpu.c
===================================================================
--- src/drivers/cpu/driver_cpu.c (revision 3272)
+++ src/drivers/cpu/driver_cpu.c (working copy)
@@ -81,7 +81,7 @@
if ((rank == 0) || (cl->type != STARPU_FORKJOIN))
{
cl_func func = cl->cpu_func;
- func(task->interface, task->cl_arg);
+ func(task->interfaces, task->cl_arg);
}
if (is_parallel_task)
Index: src/drivers/cuda/driver_cuda.c
===================================================================
--- src/drivers/cuda/driver_cuda.c (revision 3272)
+++ src/drivers/cuda/driver_cuda.c (working copy)
@@ -206,7 +206,7 @@
cl_func func = cl->cuda_func;
STARPU_ASSERT(func);
- func(task->interface, task->cl_arg);
+ func(task->interfaces, task->cl_arg);
cl->per_worker_stats[workerid]++;
Revise this Paste