Browse Source

mpi_pxlu: Fix termination

We need to release our acquire before being able to unregister
Samuel Thibault 4 years ago
parent
commit
c54555bd72
1 changed files with 1 additions and 0 deletions
  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);
 }