Event¶
- class paddle.device.cuda. Event [source]
-
The handle of the CUDA event.
- Parameters
-
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.
Examples
# required: gpu import paddle event = paddle.device.cuda.Event()