ACCL icon indicating copy to clipboard operation
ACCL copied to clipboard

Send/Recv to same rank

Open Mellich opened this issue 3 years ago • 1 comments

Currently it is not possible to have the same source and destination rank for send/recv. A possible replacement for this call may be a copy from or to stream to buffer the data manually.

Mellich avatar Oct 06 '22 14:10 Mellich

Copy from and to streams introduced in #100. So copy operations can be used as a replacement for send/recv now by copying data into a temporary buffer instead of sending it. For now this special case needs to be handled by the user code.

C++ API send and receive could be extended to do this automatically to clean up the user code.

Mellich avatar Oct 26 '22 14:10 Mellich