Explorar o código

fix param of codelet which is a variable, not a vector

Corentin Salingue %!s(int64=8) %!d(string=hai) anos
pai
achega
2694f7995b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      mpi/tests/mpi_reduction_kernels.c

+ 1 - 1
mpi/tests/mpi_reduction_kernels.c

@@ -66,7 +66,7 @@ void dot_cpu_func(void *descr[], void *cl_arg)
  */
 void display_cpu_func(void *descr[], void *cl_arg)
 {
-	long int *local_x = (long int *)STARPU_VECTOR_GET_PTR(descr[0]);
+	long int *local_x = (long int *)STARPU_VARIABLE_GET_PTR(descr[0]);
 
 	FPRINTF_MPI(stderr, "Local=%ld\n", *local_x);
 }