21 #ifndef MCA_BTL_SELF_H
22 #define MCA_BTL_SELF_H
24 #include "ompi_config.h"
29 #ifdef HAVE_SYS_TYPES_H
30 #include <sys/types.h>
32 #include "opal/mca/event/event.h"
33 #include "ompi/class/ompi_free_list.h"
75 bool enable_progress_threads,
76 bool enable_mpi_threads
203 mca_btl_base_tag_t tag
mca_btl_base_component_2_0_0_t super
base BTL component
Definition: btl_self.h:43
ompi_free_list_t self_frags_rdma
free list of self second
Definition: btl_self.h:50
A descriptor that holds the parameters to a send/put/get operation along w/ a callback routine that i...
Definition: btl.h:275
int mca_btl_self_component_close(void)
Any final cleanup before being unloaded.
Definition: btl_self_component.c:111
mca_btl_base_descriptor_t * mca_btl_self_alloc(struct mca_btl_base_module_t *btl, struct mca_btl_base_endpoint_t *endpoint, uint8_t order, size_t size, uint32_t flags)
Allocate a segment.
Definition: btl_self.c:120
int mca_btl_self_ft_event(int state)
Fault Tolerance Event Notification Function.
Definition: btl_self.c:392
Definition: opal_bitmap.h:53
int mca_btl_self_add_procs(struct mca_btl_base_module_t *btl, size_t nprocs, struct ompi_proc_t **procs, struct mca_btl_base_endpoint_t **peers, struct opal_bitmap_t *reachability)
PML->BTL notification of change in the process list.
Definition: btl_self.c:68
int mca_btl_self_finalize(struct mca_btl_base_module_t *btl)
Cleanup any resources held by the BTL.
Definition: btl_self.c:108
Definition: mutex_unix.h:53
int mca_btl_self_del_procs(struct mca_btl_base_module_t *btl, size_t nprocs, struct ompi_proc_t **procs, struct mca_btl_base_endpoint_t **peers)
PML->BTL notification of change in the process list.
Definition: btl_self.c:86
Remote Open MPI process structure.
Definition: proc.h:56
int mca_btl_self_free(struct mca_btl_base_module_t *btl, mca_btl_base_descriptor_t *segment)
Return a segment allocated by this BTL.
Definition: btl_self.c:151
int free_list_inc
number of elements to alloc when growing free lists
Definition: btl_self.h:46
struct mca_btl_base_descriptor_t * mca_btl_self_prepare_src(struct mca_btl_base_module_t *btl, struct mca_btl_base_endpoint_t *endpoint, struct mca_mpool_base_registration_t *registration, struct opal_convertor_t *convertor, uint8_t order, size_t reserve, size_t *size, uint32_t flags)
Pack data.
Definition: btl_self.c:178
int free_list_num
initial size of free lists
Definition: btl_self.h:44
Byte Transfer Layer (BTL)
Definition: ompi_free_list.h:39
Shared Memory (SELF) BTL module.
Definition: btl_self.h:42
State of ELAN endpoint connection.
Definition: btl_elan_endpoint.h:33
ompi_free_list_t self_frags_eager
free list of self first
Definition: btl_self.h:48
BTL component descriptor.
Definition: btl.h:411
Definition: opal_convertor.h:90
int mca_btl_self_send(struct mca_btl_base_module_t *btl, struct mca_btl_base_endpoint_t *endpoint, struct mca_btl_base_descriptor_t *descriptor, mca_btl_base_tag_t tag)
Initiate a send to the peer.
Definition: btl_self.c:281
uint8_t order
order value, this is only valid in the local completion callback and may be used in subsequent calls ...
Definition: btl.h:292
mca_btl_base_module_t ** mca_btl_self_component_init(int *num_btls, bool enable_progress_threads, bool enable_mpi_threads)
SELF module initialization.
Definition: btl_self_component.c:124
int mca_btl_self_component_open(void)
Register shared memory module parameters with the MCA framework.
Definition: btl_self_component.c:72
int mca_btl_self_rdma(struct mca_btl_base_module_t *btl, struct mca_btl_base_endpoint_t *endpoint, struct mca_btl_base_descriptor_t *descriptor)
Initiate a put to the peer.
Definition: btl_self.c:317
struct mca_btl_base_descriptor_t * mca_btl_self_prepare_dst(struct mca_btl_base_module_t *btl, struct mca_btl_base_endpoint_t *endpoint, struct mca_mpool_base_registration_t *registration, struct opal_convertor_t *convertor, uint8_t order, size_t reserve, size_t *size, uint32_t flags)
Prepare data for RDMA.
Definition: btl_self.c:246
BTL module interface functions and attributes.
Definition: btl.h:786
ompi_free_list_t self_frags_send
free list of self second
Definition: btl_self.h:49
int free_list_max
maximum size of free lists
Definition: btl_self.h:45