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
devand bound to a multicast object atmc_offsetand upto a givensize. The intendedsizeof the unbind and the offset in the multicast range (mc_offset) must be a multiple of the value returned bycuMulticastGetGranularityflagCU_MULTICAST_GRANULARITY_MINIMUM. Thesize+mc_offsetcannot 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_offsetand thesizemust match the corresponding values specified during the bind call. Any other values may result in undefined behavior.See also
cuMulticastUnbind