[libfabric-users] address size
Biddiscombe, John A.
john.biddiscombe at cscs.ch
Fri Mar 3 02:59:12 PST 2023
when using native address formats, I have the following hardcoded into my stuff
#ifdef HAVE_LIBFABRIC_GNI
#define HAVE_LIBFABRIC_LOCALITY_SIZE 48
#endif
#ifdef HAVE_LIBFABRIC_CXI
#define HAVE_LIBFABRIC_LOCALITY_SIZE 4
#endif
#if defined(HAVE_LIBFABRIC_VERBS) || defined(HAVE_LIBFABRIC_TCP) || \
defined(HAVE_LIBFABRIC_SOCKETS) || defined(HAVE_LIBFABRIC_PSM2)
#define HAVE_LIBFABRIC_LOCALITY_SIZE 16
#define HAVE_LIBFABRIC_LOCALITY_SOCKADDR
#endif
I want to use amazon EFA, and have no idea how large an address struct is with FI_ADDR_EFA
What is the correct way to find this info so that addresses can be safely copied around when compiling against different providers?
Thanks
JB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/libfabric-users/attachments/20230303/3c337c00/attachment.htm>
More information about the Libfabric-users
mailing list