ACCL
ACCL copied to clipboard
Send/Recv to same rank
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.
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.