Explorar el Código

mpi/src/starpu_mpi.c: use the tag which is defined for the communication, and not the tag of the data (as they may be different)

Nathalie Furmento hace 11 años
padre
commit
31753c0497
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      mpi/src/starpu_mpi.c

+ 2 - 2
mpi/src/starpu_mpi.c

@@ -774,8 +774,8 @@ static void _starpu_mpi_handle_request_termination(struct _starpu_mpi_req *req)
 
 	if (req->internal_req)
 	{
-		struct _starpu_mpi_copy_handle *chandle = find_chandle(starpu_data_get_tag(req->data_handle), req->srcdst);
-		STARPU_ASSERT_MSG(chandle, "Could not find a copy data handle with the tag %d and the node %d\n", starpu_data_get_tag(req->data_handle), req->srcdst);
+		struct _starpu_mpi_copy_handle *chandle = find_chandle(req->mpi_tag, req->srcdst);
+		STARPU_ASSERT_MSG(chandle, "Could not find a copy data handle with the tag %d and the node %d\n", req->mpi_tag, req->srcdst);
 		_STARPU_MPI_DEBUG(3, "Handling deleting of copy_handle structure from the hashmap..\n");
 		delete_chandle(chandle);
 		free(chandle);