fix the waring in gemm test
This commit is contained in:
parent
5f20fce6fd
commit
03c55db4fb
@ -74,7 +74,7 @@ TEST_P(Gemm, Accuracy)
|
|||||||
cv::gemm(a, b, 1.0, c, 1.0, dst, flags);
|
cv::gemm(a, b, 1.0, c, 1.0, dst, flags);
|
||||||
cv::ocl::gemm(cv::ocl::oclMat(a), cv::ocl::oclMat(b), 1.0, cv::ocl::oclMat(c), 1.0, ocl_dst, flags);
|
cv::ocl::gemm(cv::ocl::oclMat(a), cv::ocl::oclMat(b), 1.0, cv::ocl::oclMat(c), 1.0, ocl_dst, flags);
|
||||||
|
|
||||||
EXPECT_MAT_NEAR(dst, ocl_dst, mat_size.area() * 1e-4, "");
|
EXPECT_MAT_NEAR(dst, ocl_dst, mat_size.area() * 1e-4);
|
||||||
}
|
}
|
||||||
|
|
||||||
INSTANTIATE_TEST_CASE_P(ocl_gemm, Gemm, testing::Combine(
|
INSTANTIATE_TEST_CASE_P(ocl_gemm, Gemm, testing::Combine(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user