Blocks until all GPU work queued by cuplyr and libcudf on the device has
completed. GPU calls return as soon as the work is queued, so a timing taken
without a wait can measure only the launch. Call gpu_sync() before reading
the clock, as one would use torch.cuda.synchronize().
