ocelot/ocelot/cuda/implementation/CudaRuntime.cpp
cudaError_t cuda::CudaRuntime::_setLastError(cudaError_t result) {
	HostThreadContext& thread = _getCurrentThread();
	thread.lastError = result;
	return result;
}
//! sets the last error state for the CudaRuntime object
sets the last error state for the CudaRuntime object
sets the last error state for the CudaRuntime object
cudaError_t cuda::CudaRuntime::_setLastError(cudaError_t result) {
	HostThreadContext& thread = _getCurrentThread();
	thread.lastError = result;
	return result;
}
cudaError_t cuda :: CudaRuntime :: _setLastError ( cudaError_t result ) { HostThreadContext & thread = _getCurrentThread ( ) ; thread . lastError = result ; return result ; }
sets the last error state for the CudaRuntime object
sets the last error state for the CudaRuntime object