The real memory copy happen in the convertor, more specifically in the
ompi_convertor_pack for the sender and in the ompi_convertor_unpack
for the receiver. In fact, none of the BTL directly call memcpy, all
memory movements are done via the convertor.
george.
On Nov 8, 2007, at 7:38 AM, Torje Henriksen wrote:
> Hi,
>
> I have a question that I shouldn't need to ask, but I'm
> kind of lost in the code.
>
> The btl sm component is using the circular buffers to write and read
> fragments (sending and receiving).
>
> In the write_to_head and read_from_tail I can only see pointers
> beeing set,
> no data being moved. So where does the actual data movement/copying
> take
> place? I'm thinking maybe a callback function existing somewhere :)
>
>
> Thank you for your help now and earlier.
>
>
> Best regards,
>
> Torje Henriksen
> (torjeh_at_[hidden])
>
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel
- application/pkcs7-signature attachment: smime.p7s
|