|
|
@ -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( |
|
|
|