pub unsafe extern "C" fn cuMulticastUnbind(
mcHandle: CUmemGenericAllocationHandle,
dev: CUdevice,
mcOffset: usize,
size: usize,
) -> CUresult
Expand description
\brief Unbind any memory allocations bound to a multicast object at a given offset and upto a given size.
Unbinds any memory allocations hosted on \p dev and bound to a multicast object at \p mcOffset and upto a given \p size. The intended \p size of the unbind and the offset in the multicast range ( \p mcOffset ) must be a multiple of the value returned by ::cuMulticastGetGranularity flag ::CU_MULTICAST_GRANULARITY_MINIMUM. The \p size + \p mcOffset cannot be larger than the total size of the multicast object.
\note Warning: The \p mcOffset and the \p size must match the corresponding values specified during the bind call. Any other values may result in undefined behavior.
\param[in] mcHandle Handle representing a multicast object. \param[in] dev Device that hosts the memory allocation. \param[in] mcOffset Offset into the multicast object. \param[in] size Desired size to unbind.
\return ::CUDA_SUCCESS, ::CUDA_ERROR_INVALID_VALUE, ::CUDA_ERROR_INVALID_DEVICE, ::CUDA_ERROR_NOT_INITIALIZED, ::CUDA_ERROR_DEINITIALIZED, ::CUDA_ERROR_NOT_PERMITTED, ::CUDA_ERROR_NOT_SUPPORTED
\sa ::cuMulticastBindMem, ::cuMulticastBindAddr