cudaError_t cudaThreadExit ( void   ) 

Explicitly cleans up all runtime-related resources associated with the calling host thread. Any subsequent API call reinitializes the runtime. cudaThreadExit() is implicitly called on host thread exit.

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


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA