- class paddle.device.cuda. Event
The handle of the CUDA event.
enable_timing (bool, optional) – Whether the event will measure time. Default: False.
blocking (bool, optional) – Whether the wait() func will be blocking. Default: False;
interprocess (bool, optional) – Whether the event can be shared between processes. Defalut: False.
# required: gpu import paddle event = paddle.device.cuda.Event()