cudaDeviceSynchronize Interface

interface


Called by

interface~~cudadevicesynchronize~~CalledByGraph interface~cudadevicesynchronize cudaDeviceSynchronize proc~execute_test execute_test proc~execute_test->interface~cudadevicesynchronize program~test_device_kernels test_device_kernels program~test_device_kernels->proc~execute_test

public function cudaDeviceSynchronize() result(cudaError_t) bind(C, name="cudaDeviceSynchronize")

Arguments

None

Return Value integer(kind=c_int)

Returns cudaSuccess if syncronization was or an error code if there was an issue.

Description

Synchronizes the device, blocking until all preceding tasks in all streams have completed.