Merge pull request #2066 from ilya-lavrenov:tapi_ocl

This commit is contained in:
Andrey Pavlenko
2013-12-26 19:38:01 +04:00
committed by OpenCV Buildbot
2 changed files with 2 additions and 2 deletions

View File

@@ -724,7 +724,7 @@ static bool ocl_gemm( InputArray matA, InputArray matB, double alpha,
UMat A = matA.getUMat(), B = matB.getUMat(), D = matD.getUMat();
if (haveC)
ctrans ? transpose(matC, D) : matC.getMat().copyTo(D); // TODO fix it as soon as .copyTo works as expected
ctrans ? transpose(matC, D) : matC.copyTo(D);
else
D.setTo(Scalar::all(0));