LCI

A device is a physical or logical resource that can be used for communication. Communications that use the same device share a resource and may affect each other's performance. More...

Collaboration diagram for LCI device:

Typedefs

typedef struct LCI_device_s * LCI_device_t
 The device type. More...
 

Functions

LCI_API LCI_error_t LCI_device_init (LCI_device_t *device_ptr)
 Initialize a device. More...
 
LCI_API LCI_error_t LCI_device_free (LCI_device_t *device_ptr)
 Initialize a device. More...
 

Variables

int LCI_SERVER_MAX_SENDS
 Server's send queue length. More...
 
int LCI_SERVER_MAX_RECVS
 Server's recv queue length. More...
 
int LCI_SERVER_MAX_CQES
 Server's completion queue length. More...
 
bool LCI_IBV_ENABLE_EVENT_POLLING_THREAD
 whether to enable ibv's event polling thread. More...
 
int LCI_SINGLE_THREAD_PROGRESS
 LCI_progress on the same device will not be called by multiple threads simultaneously. More...
 
LCI_device_t LCI_UR_DEVICE
 Default device initialized by LCI_initialize. Just for convenience. More...
 

Detailed Description

A device is a physical or logical resource that can be used for communication. Communications that use the same device share a resource and may affect each other's performance.

Typedef Documentation

◆ LCI_device_t

typedef struct LCI_device_s* LCI_device_t

The device type.

Function Documentation

◆ LCI_device_free()

LCI_API LCI_error_t LCI_device_free ( LCI_device_t device_ptr)

Initialize a device.

Parameters
[in,out]device_ptrPointer to a device to free.
Returns
Should always be LCI_OK. All the other errors are fatal as defined by LCI_error_t.

◆ LCI_device_init()

LCI_API LCI_error_t LCI_device_init ( LCI_device_t device_ptr)

Initialize a device.

Parameters
[out]device_ptrPointer to a device to be initialized.
Returns
Should always be LCI_OK. All the other errors are fatal as defined by LCI_error_t.

Variable Documentation

◆ LCI_IBV_ENABLE_EVENT_POLLING_THREAD

bool LCI_IBV_ENABLE_EVENT_POLLING_THREAD

whether to enable ibv's event polling thread.

◆ LCI_SERVER_MAX_CQES

int LCI_SERVER_MAX_CQES

Server's completion queue length.

◆ LCI_SERVER_MAX_RECVS

int LCI_SERVER_MAX_RECVS

Server's recv queue length.

◆ LCI_SERVER_MAX_SENDS

int LCI_SERVER_MAX_SENDS

Server's send queue length.

◆ LCI_SINGLE_THREAD_PROGRESS

int LCI_SINGLE_THREAD_PROGRESS

LCI_progress on the same device will not be called by multiple threads simultaneously.

Note
It has to be true for now.

◆ LCI_UR_DEVICE

LCI_device_t LCI_UR_DEVICE

Default device initialized by LCI_initialize. Just for convenience.