1 This sample illustrates the usage of CUDA events and streams for overlapping
2 CPU and GPU execution. Events are insterted into a stream of CUDA calls.
3 Since CUDA stream calls are asynchronous, the CPU can continue with computations
4 while the GPU is executing (including DMA memcopies between the host and device).
5 CPU can query CUDA event status to determine whether GPU has completed tasks.