cudaError_t cudaThreadSynchronize ( void   ) 

Blocks until the device has completed all preceding requested tasks. cudaThreadSynchronize() returns an error if one of the preceding tasks has failed.

Returns:
cudaSuccess
Note:
Note that this function may also return error codes from previous, asynchronous launches.
See also:
cudaThreadExit


Generated by Doxygen on Mon Mar 30 23:16:10 2009 for NVIDIA CUDA Library  NVIDIA