Skip to content

Commit

Permalink
fix ci: drop haveClblast
Browse files Browse the repository at this point in the history
  • Loading branch information
fengyuentau committed May 11, 2024
1 parent b5d03e3 commit 2720d5e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
1 change: 0 additions & 1 deletion modules/core/include/opencv2/core/ocl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ namespace cv { namespace ocl {

CV_EXPORTS_W bool haveOpenCL();
CV_EXPORTS_W bool useOpenCL();
CV_EXPORTS_W bool haveClblast();
CV_EXPORTS_W bool haveAmdBlas();
CV_EXPORTS_W bool haveAmdFft();
CV_EXPORTS_W void setUseOpenCL(bool flag);
Expand Down
2 changes: 1 addition & 1 deletion modules/core/src/matmul.dispatch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ void gemm(InputArray matA, InputArray matB, double alpha,
InputArray matC, double beta, OutputArray _matD, int flags)
{
#ifdef HAVE_CLBLAST
CV_OCL_RUN(ocl::haveClblast() && matA.dims() <= 2 && matB.dims() <= 2 && matC.dims() <= 2 && _matD.isUMat(),
CV_OCL_RUN(matA.dims() <= 2 && matB.dims() <= 2 && matC.dims() <= 2 && _matD.isUMat(),
ocl_gemm_clblast(matA, matB, alpha, matC, beta, _matD, flags))
#endif

Expand Down
10 changes: 0 additions & 10 deletions modules/core/src/ocl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1248,16 +1248,6 @@ void setUseOpenCL(bool flag)
}
}

#ifdef HAVE_CLBLAST
bool haveClblast() {
return true;
}
#else
bool haveClblast() {
return false;
}
#endif

#ifdef HAVE_CLAMDBLAS

class AmdBlasHelper
Expand Down

0 comments on commit 2720d5e

Please sign in to comment.