From 687383a7ee2743f466b3e3eef9488971ce104f04 Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Tue, 12 Feb 2013 15:27:31 +0100 Subject: [PATCH] issend should be treated as isend, even if not detached --- src/smpi/smpi_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/smpi/smpi_base.c b/src/smpi/smpi_base.c index b3a438c017..6f89215d8f 100644 --- a/src/smpi/smpi_base.c +++ b/src/smpi/smpi_base.c @@ -365,7 +365,7 @@ void smpi_mpi_start(MPI_Request request) //if we are giving back the control to the user without waiting for completion, we have to inject timings double sleeptime =0.0; - if(request->detached){ + if(request->detached || (request->flags & (ISEND|SSEND))){// issend should be treated as isend //isend and send timings may be different sleeptime = (request->flags & ISEND)? smpi_ois(request->size) : smpi_os(request->size); } -- 2.20.1