Conversation
|
The following accurate information is necessary to maintain any 3rdparty library:
|
|
@alalek, I will provide some information in README.
|
* trying to fix remaining CI problems
…ositions. It adds very little extra overhead. * added stub version of sdesdd. * uncommented calls to all the single-precision Lapack functions from opencv/core/src/hal_internal.cpp.
|
…(such as sqrt(), r_cnjg() etc.) * at once, trailing whitespaces are removed from the generated sources, just in case * since there is no declarations of intrinsic functions anymore, we could turn some of them into inline functions
…standard LAPACK detection procedure * removed some more trailing whitespaces
|
@alalek, please review. I've finished the work on it. "Linux x64 Debug" build slave fails sometimes due to unknown reason on various pull requests. It needs to be rerun, perhaps |
* added checks to lapack calls to gracefully return "not implemented" instead of returning invalid results with "ok" status
| { | ||
| int lda = (int)(a_step / sizeof(fptype)), sign = 0; | ||
| int* piv = new int[m]; | ||
| std::vector<int> piv(m+1); |
There was a problem hiding this comment.
Why do we need +1 here?
If it is a bug, then this bugfix was NOT backported to 4.x.
/cc @vpisarev @asmorkalov
There was a problem hiding this comment.
@opencv-alalek, @asmorkalov
maybe it's not relevant anymore. As I remember, it's just common pattern to handle m=0 case properly.
| fprintf(stderr, "Parameter %d to routine %s was incorrect\n", info, rout); | ||
| vfprintf(stderr, form, argptr); | ||
| va_end(argptr); | ||
| if (info && !info) |
There was a problem hiding this comment.
The patch adds CLapack back to OpenCV (let's call it "built-in Lapack"). Although OpenCV can make use of external optimized versions of Lapack (e.g. MKL on Intel platforms, Accelerate framework on Apple devices), in which case the built-in Lapack is not used, having builtin Lapack is useful because we can enable by default all the algorithms that depend on it, e.g. the new RANSAC (and thus remove completely the old RANSAC)
Pull Request Readiness Checklist
Patch to opencv_extra has the same branch name.
References