Skip to main content

cudaDeviceUnregisterAsyncNotification

Function cudaDeviceUnregisterAsyncNotification 

Source
pub unsafe extern "C" fn cudaDeviceUnregisterAsyncNotification(
    device: c_int,
    callback: cudaAsyncCallbackHandle_t,
) -> cudaError_t
Expand 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 remove callback.
  • callback: The callback instance to unregister from receiving async notifications.

§Return value

See also: cudaDeviceRegisterAsyncNotification.