lapack_check.cpp 373 B

123456789101112131415
  1. #include <complex.h>
  2. #include "opencv_lapack.h"
  3. static char* check_fn1 = (char*)sgesv_;
  4. static char* check_fn2 = (char*)sposv_;
  5. static char* check_fn3 = (char*)spotrf_;
  6. static char* check_fn4 = (char*)sgesdd_;
  7. int main(int argc, char* argv[])
  8. {
  9. (void)argv;
  10. if(argc > 1000)
  11. return check_fn1[0] + check_fn2[0] + check_fn3[0] + check_fn4[0];
  12. return 0;
  13. }