cuda.bindings._v2.driver.logical_endpoint_unbind#
- cuda.bindings._v2.driver.logical_endpoint_unbind(
- uint32_t le_id,
- int dev,
- uint64_t offset,
- uint64_t size,
Unbinds any binding at offset from the logical endpoint.
Unbinds any memory allocations bound to the logical endpoint on
devatoffsetand up to the givensize. The intendedsizeof the unbind and the offset in the logical endpoint rangeoffsetmust be multiples of the value forbindAlignmentas returned bycuLogicalEndpointGetLimits.- Parameters:
le_id (uint32_t) – Logical endpoint id representing a logical endpoint.
dev (int) – Device on which the memory is bound to the logical endpoint.
offset (uint64_t) – Offset into the logical endpoint.
size (uint64_t) – Desired size to unbind.
Note
The
offsetmust correspond to a value specified during a bind call. Thesizemust either match the bind call of the offset or be the combinedsizeof multiple bind calls. Thesize+offsetmust fully enclose all bindings that are covered.See also
cuLogicalEndpointUnbind