These two functions target at defining a memory layout (contiguous or not) that can be target for a one-sided communication. I don't see why there is a need to know what type of communication that will be … What is so different in the xpmem that requires the memory to be prepared based on the operations that will follow?
Moreover, the prepare_src is used outside the context of one-sided, in the send protocol. How do you plan to address send operations? george. On Nov 29, 2011, at 12:42 , Nathan Hjelm wrote: > We need an accurate way to detect if prepare_src/prepare_dst are being called > for a get or a put operation. I propose adding two new flags to the btl > descriptor (and passing them from ob1/csum/etc): > > #define MCA_BTL_DES_PUT 0x0010 > #define MCA_BTL_DES_GET 0x0020 > > Comments? Suggestions? Objections? > > -Nathan > _______________________________________________ > devel mailing list > de...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/devel