Blame view

3rdparty/opencv-4.5.4/cmake/checks/lapack_check.cpp 373 Bytes
f4334277   Hu Chunming   提交3rdparty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  #include <complex.h>
  #include "opencv_lapack.h"
  
  static char* check_fn1 = (char*)sgesv_;
  static char* check_fn2 = (char*)sposv_;
  static char* check_fn3 = (char*)spotrf_;
  static char* check_fn4 = (char*)sgesdd_;
  
  int main(int argc, char* argv[])
  {
      (void)argv;
      if(argc > 1000)
          return check_fn1[0] + check_fn2[0] + check_fn3[0] + check_fn4[0];
      return 0;
  }