How to use cudaDeviceRegisterAsyncNotification?

Hello, I saw cudaDeviceRegisterAsyncNotification function in the Runtime API documentation, but I don’t know how to use it or its usage scenarios. May I ask if there are any test cases or demos available for reference.