recorded and before the end_event was recorded.
classmethod from_ipc_handle(device, handle)
  Reconstruct an event from an IPC handle on the given device.

ipc_handle()
  Returns an IPC handle of this event. If not recorded yet, the
  event will use the current device.

query()
  Checks if all work currently captured by event has completed.

  Returns:
     A boolean indicating if all work currently captured by event
     has completed.

record(stream=None)
  Records the event in a given stream.

  Uses "torch.cuda.current_stream()" if no stream is specified.
  The stream's device must match the event's device.

synchronize()
  Waits for the event to complete.

  Waits until the completion of all work currently captured in
  this event. This prevents the CPU thread from proceeding until
  the event completes.

     Note:

       This is a wrapper around "cudaEventSynchronize()": see CUDA
