LCI v2.0.0-dev
For Asynchronous Multithreaded Communication
Loading...
Searching...
No Matches

Allocate a new device object. More...

Collaboration diagram for alloc_device:

Classes

class  lci::alloc_device_x
 The actual implementation for alloc_device. More...
 

Detailed Description

Allocate a new device object.

Parameters
[in]runtimeof type runtime_t; optional argument; The runtime object.
[in]net_max_sendsof type size_t; optional argument; argument for the corresponding attribute
[in]net_max_recvsof type size_t; optional argument; argument for the corresponding attribute
[in]net_max_cqesof type size_t; optional argument; argument for the corresponding attribute
[in]ofi_lock_modeof type uint64_t; optional argument; argument for the corresponding attribute
[in]alloc_default_endpointof type bool; optional argument; argument for the corresponding attribute
[in]ibv_td_strategyof type attr_ibv_td_strategy_t; optional argument; argument for the corresponding attribute
[in]user_contextof type void*; optional argument; argument for the corresponding attribute
[in]net_contextof type net_context_t; optional argument; The network context to allocate the device.
[in]packet_poolof type packet_pool_t; optional argument; The packet pool to bind.
Returns
of type device_t; The allocated object.