On Fri, 9 Mar 2012, George Bosilca wrote:


On Mar 9, 2012, at 14:23 , Nathan Hjelm wrote:

BTW, can anyone tell me why each mpool defines mca_mpool_base_resources_t 
instead of defining mca_mpool_blah_resources_t. The current design makes it 
impossible to support more than one mpool in a btl. I can delete a bunch of 
code if I can make a btl fall back on the rdma mpool if leave_pinned is not set.

I guess you can name them as you like as long as you do the right cast to avoid 
compiler complaints.

Why can't you support multiple mpools in the same BTL?

Because if I include mpool_rdma.h and mpool_grdma.h (or mpool_sm.h) from the 
same file we get a name collision since all mpool components define 
mca_mpool_base_resources_t.

-Nathan

Reply via email to