pub unsafe extern "C" fn cudaExecutionCtxSynchronize(
ctx: cudaExecutionContext_t,
) -> cudaError_tExpand description
Block for the specified execution context’s tasks to complete.
Blocks until the specified execution context has completed all preceding requested tasks. If the specified execution context is the device (primary) context obtained via cudaDeviceGetExecutionCtx, green contexts that have been created on the device will also be synchronized.
The API returns an error if one of the preceding tasks failed.
§Parameters
ctx: - Execution context to synchronize (required parameter, see note below)