|
|
Returns the last error that has been produced by any of the runtime calls in the same host thread. Note that this call does not reset the error to cudaSuccess like cudaGetLastError().
- Returns:
- cudaSuccess, cudaErrorMissingConfiguration, cudaErrorMemoryAllocation, cudaErrorInitializationError, cudaErrorLaunchFailure, cudaErrorPriorLaunchFailure, cudaErrorLaunchTimeout, cudaErrorLaunchOutOfResources, cudaErrorInvalidDeviceFunction, cudaErrorInvalidConfiguration, cudaErrorInvalidDevice cudaErrorInvalidValue cudaErrorInvalidPitchValue cudaErrorInvalidSymbol cudaErrorMapBufferObjectFailed cudaErrorUnmapBufferObjectFailed cudaErrorInvalidHostPointer cudaErrorInvalidDevicePointer cudaErrorInvalidTexture cudaErrorInvalidTextureBinding cudaErrorInvalidChannelDescriptor cudaErrorInvalidMemcpyDirection cudaErrorTextureFetchFailed cudaErrorTextureNotBound cudaErrorSynchronizationError cudaErrorInvalidFilterSetting cudaErrorInvalidNormSetting cudaErrorMixedDeviceExecution cudaErrorCudartUnloading cudaErrorUnknown cudaErrorNotYetImplemented cudaErrorMemoryValueTooLarge cudaErrorInvalidResourceHandle cudaErrorInsufficientDriver cudaErrorSetOnActiveProcess cudaErrorStartupFailure cudaErrorApiFailureBase
- Note:
- Note that this function may also return error codes from previous, asynchronous launches.
- See also:
- cudaGetLastError, cudaGetErrorString, cudaError
|