added WITH_CUFFT and WITH_CUBLAS flags to cmake scripts
fixed gpu module error reporting added asynchronous version of some functions
This commit is contained in:
@@ -250,9 +250,7 @@ enum {
|
||||
CV_StsBadMemBlock= -214, /* an allocated block has been corrupted */
|
||||
CV_StsAssert= -215, /* assertion failed */
|
||||
CV_GpuNotSupported= -216,
|
||||
CV_GpuApiCallError= -217,
|
||||
CV_GpuNppCallError= -218,
|
||||
CV_GpuCufftCallError= -219
|
||||
CV_GpuApiCallError= -217
|
||||
};
|
||||
|
||||
/****************************************************************************************\
|
||||
|
@@ -629,9 +629,8 @@ CV_IMPL const char* cvErrorStr( int status )
|
||||
case CV_StsNotImplemented : return "The function/feature is not implemented";
|
||||
case CV_StsBadMemBlock : return "Memory block has been corrupted";
|
||||
case CV_StsAssert : return "Assertion failed";
|
||||
case CV_GpuNotSupported : return "No GPU support";
|
||||
case CV_GpuApiCallError : return "Gpu Api call";
|
||||
case CV_GpuNppCallError : return "Npp Api call";
|
||||
case CV_GpuNotSupported : return "No GPU support";
|
||||
case CV_GpuApiCallError : return "Gpu Api call";
|
||||
};
|
||||
|
||||
sprintf(buf, "Unknown %s code %d", status >= 0 ? "status":"error", status);
|
||||
|
Reference in New Issue
Block a user