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 dev at offset and up to the given size. The intended size of the unbind and the offset in the logical endpoint range offset must be multiples of the value for bindAlignment as returned by cuLogicalEndpointGetLimits.

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 offset must correspond to a value specified during a bind call. The size must either match the bind call of the offset or be the combined size of multiple bind calls. The size + offset must fully enclose all bindings that are covered.

See also

cuLogicalEndpointUnbind