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_alignmentcan be used as a multiple for size and bind offset values. Themax_sizeis the maximum size of the logical endpoint. Ifmax_sizeis less thanCUlogicalEndpointProp: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