cuda.bindings._v2.driver.multicast_unbind#

cuda.bindings._v2.driver.multicast_unbind(
uint64_t mc_handle,
int dev,
size_t mc_offset,
size_t size,
)#

Unbind any memory allocations bound to a multicast object at a given offset and upto a given size.

Unbinds any memory allocations hosted on dev and bound to a multicast object at mc_offset and upto a given size. The intended size of the unbind and the offset in the multicast range ( mc_offset ) must be a multiple of the value returned by cuMulticastGetGranularity flag CU_MULTICAST_GRANULARITY_MINIMUM. The size + mc_offset cannot be larger than the total size of the multicast object.

Parameters:
  • mc_handle (uint64_t) – Handle representing a multicast object.

  • dev (int) – Device that hosts the memory allocation.

  • mc_offset (size_t) – Offset into the multicast object.

  • size (size_t) – Desired size to unbind.

Note

Warning: The mc_offset and the size must match the corresponding values specified during the bind call. Any other values may result in undefined behavior.

See also

cuMulticastUnbind