Function nvcvGetLastError

Function Documentation

NVCVStatus nvcvGetLastError()

Returns and resets the error status of the last CV-CUDA function call that failed in current thread.

A new call to this function will return NVCV_SUCCESS, as the thread-specific status was reset. This operation doesn’t affect the statuses in other threads.

Returns:

The status of the last CV-CUDA function call that failed in current thread.