pub unsafe extern "C" fn cudaDeviceUnregisterAsyncNotification(
device: c_int,
callback: cudaAsyncCallbackHandle_t,
) -> cudaError_tExpand description
Unregisters an async notification callback.
Unregisters callback so that the corresponding callback function will stop receiving async notifications.
Note that this function may also return error codes from previous, asynchronous launches.
§Parameters
device: The device from which to removecallback.callback: The callback instance to unregister from receiving async notifications.
§Return value
cudaError_t::CUDA_SUCCESScudaError_t::CUDA_ERROR_NOT_SUPPORTEDcudaError_t::CUDA_ERROR_INVALID_DEVICEcudaError_t::CUDA_ERROR_INVALID_VALUEcudaError_t::CUDA_ERROR_NOT_PERMITTEDcudaError_t::CUDA_ERROR_UNKNOWN
See also: cudaDeviceRegisterAsyncNotification.