Commit 3226c6c
committed
pml/cm: pack data from application buffer in successive MPI_Start calls
This patch fixes a bug exposed by MTT MPI_Bsend_init_overtake_c, where
- MPI_Bsend_init(buf, ..., req)
- MPI_Start(req)
- MPI_Wait(req, stat)
- modify(buf)
- MPI_Start(req) // this does not send the updated data
- MPI_Wait(buf)
This is because PML/CM uses a bounce buffer send_req.req_buff to pack
data from the application buffer in MPI_Bsend_int but not MPI_Start.
This patch adds a step to pack data from the application buffer in each
MPI_Start call.
Signed-off-by: Wenduo Wang <wenduwan@amazon.com>1 parent 1afb524 commit 3226c6c
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
378 | 382 | | |
379 | 383 | | |
380 | 384 | | |
| |||
0 commit comments