cudaDeviceSynchronize: Wait for compute device to finish

Description Usage References

Description

Blocks until the device has completed all preceding requested tasks. cudaDeviceSynchronize() returns an error if one of the preceding tasks has failed. If the cudaDeviceScheduleBlockingSync flag was set for this device, the host thread will block until the device has finished its work.

Usage

1

References

http://docs.nvidia.com/cuda/cuda-driver-api/index.html


duncantl/RCUDA documentation built on May 15, 2019, 5:26 p.m.