Explorar o código

src/util/fstarpu.c: fix to call STARPU_VARIABLE_GET_PTR

Nathalie Furmento %!s(int64=8) %!d(string=hai) anos
pai
achega
caeaec8578
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/util/fstarpu.c

+ 1 - 1
src/util/fstarpu.c

@@ -412,7 +412,7 @@ void fstarpu_codelet_set_where(struct starpu_codelet *cl, intptr_t where)
 
 void * fstarpu_variable_get_ptr(void *buffers[], int i)
 {
-	return (void *)STARPU_VECTOR_GET_PTR(buffers[i]);
+	return (void *)STARPU_VARIABLE_GET_PTR(buffers[i]);
 }
 
 void * fstarpu_vector_get_ptr(void *buffers[], int i)