Raised when device synchronization is detected while disallowed.
Warning
This API has been deprecated in CuPy v10 and will be removed in future releases.
See also
cupyx.allow_synchronize()