Explorar o código

mpi_pxlu: Fix termination

We need to release our acquire before being able to unregister
Samuel Thibault %!s(int64=4) %!d(string=hai) anos
pai
achega
c54555bd72
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      mpi/examples/mpi_lu/pxlu.c

+ 1 - 0
mpi/examples/mpi_lu/pxlu.c

@@ -817,6 +817,7 @@ static void wait_tag_and_fetch_handle(starpu_tag_t tag, starpu_data_handle_t han
 //	fprintf(stderr, "Rank %d : tag %lx is done\n", rank, tag);
 
 	starpu_data_acquire(handle, STARPU_R);
+	starpu_data_release(handle);
 
 //	starpu_data_unregister(handle);
 }