pub unsafe extern "C" fn cudaPeekAtLastError() -> cudaError_t
Expand description
\brief Returns the last error from a runtime call
Returns the last error that has been produced by any of the runtime calls in the same instance of the CUDA Runtime library in the host thread. This call does not reset the error to ::cudaSuccess like ::cudaGetLastError().
Note: Multiple instances of the CUDA Runtime library can be present in an application when using a library that statically links the CUDA Runtime.
\return ::cudaSuccess, ::cudaErrorMissingConfiguration, ::cudaErrorMemoryAllocation, ::cudaErrorInitializationError, ::cudaErrorLaunchFailure, ::cudaErrorLaunchTimeout, ::cudaErrorLaunchOutOfResources, ::cudaErrorInvalidDeviceFunction, ::cudaErrorInvalidConfiguration, ::cudaErrorInvalidDevice, ::cudaErrorInvalidValue, ::cudaErrorInvalidPitchValue, ::cudaErrorInvalidSymbol, ::cudaErrorUnmapBufferObjectFailed, ::cudaErrorInvalidDevicePointer, ::cudaErrorInvalidTexture, ::cudaErrorInvalidTextureBinding, ::cudaErrorInvalidChannelDescriptor, ::cudaErrorInvalidMemcpyDirection, ::cudaErrorInvalidFilterSetting, ::cudaErrorInvalidNormSetting, ::cudaErrorUnknown, ::cudaErrorInvalidResourceHandle, ::cudaErrorInsufficientDriver, ::cudaErrorNoDevice, ::cudaErrorSetOnActiveProcess, ::cudaErrorStartupFailure, ::cudaErrorInvalidPtx, ::cudaErrorUnsupportedPtxVersion, ::cudaErrorNoKernelImageForDevice, ::cudaErrorJitCompilerNotFound, ::cudaErrorJitCompilationDisabled \notefnerr \note_init_rt \note_callback
\sa ::cudaGetLastError, ::cudaGetErrorName, ::cudaGetErrorString, ::cudaError