cuda.bindings._v2.driver.logical_endpoint_get_limits#

cuda.bindings._v2.driver.logical_endpoint_get_limits(prop) → tuple#

Calculates the minimum alignment and the maximum size for the given logical endpoint properties.

The bind_alignment can be used as a multiple for size and bind offset values. The max_size is the maximum size of the logical endpoint. If max_size is less than CUlogicalEndpointProp:size the user must adjust the request to the smaller value.

Parameters:

prop (intptr_t) – Properties of the logical endpoint.

Returns:

  • uint64_t: Minimum alignment granularity of the proposed logical

    endpoint.

  • uint64_t: Maximum size of the logical endpoint.

Return type:

A 2-tuple containing

See also

cuLogicalEndpointGetLimits