cuCtxSynchronize: Block for a context's tasks to complete

Description Usage References

Description

Blocks until the device has completed all preceding requested tasks. cuCtxSynchronize() returns an error if one of the preceding tasks failed. If the context was created with the CU_CTX_SCHED_BLOCKING_SYNC flag, the CPU thread will block until the GPU context 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.