Explorar o código

mpi/src/starpu_mpi.c: just test value returned by MPI_Test is not zero

Nathalie Furmento %!s(int64=12) %!d(string=hai) anos
pai
achega
f7d7b4390f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      mpi/src/starpu_mpi.c

+ 1 - 1
mpi/src/starpu_mpi.c

@@ -655,7 +655,7 @@ static void _starpu_mpi_handle_request_termination(struct _starpu_mpi_req *req)
 				MPI_Status status;
 				int flag;
 				MPI_Test(&req->size_req, &flag, &status);
-				STARPU_ASSERT(flag == 1);
+				STARPU_ASSERT(flag);
 			}
 			if (req->request_type == RECV_REQ)
 				// req->ptr is freed by starpu_handle_unpack_data