cuda.bindings._v2.driver.logical_endpoint_id_reserve#

cuda.bindings._v2.driver.logical_endpoint_id_reserve(uint32_t count) → uint32_t#

Reserves a range of logical endpoint ids.

Reserves a range of logical endpoint ids starting at *base_le_id and extending for count. The reserved ids can be used to create or import logical endpoints via cuLogicalEndpointCreate or cuLogicalEndpointImport respectively.

Parameters:

count (uint32_t) – The number of logical endpoint ids to reserve.

Returns:

If cuLogicalEndpointIdReserve returns CUDA_SUCCESS,

*base_le_id contains the base logical endpoint id of the reserved logical endpoint id range.

Return type:

uint32_t

See also

cuLogicalEndpointIdReserve