TEST_P(ConvertTo, Accuracy)
{
+ if((src_depth == CV_64F || dst_depth == CV_64F) &&
+ !cv::ocl::Context::getContext()->supportsFeature(cv::ocl::Context::CL_DOUBLE))
+ {
+ return; // returns silently
+ }
for (int j = 0; j < LOOP_TIMES; j++)
{
random_roi();
TEST_P(CopyTo, Without_mask)
{
+ if((src.depth() == CV_64F) &&
+ !cv::ocl::Context::getContext()->supportsFeature(cv::ocl::Context::CL_DOUBLE))
+ {
+ return; // returns silently
+ }
for (int j = 0; j < LOOP_TIMES; j++)
{
random_roi();
TEST_P(CopyTo, With_mask)
{
+ if(src.depth() == CV_64F &&
+ !cv::ocl::Context::getContext()->supportsFeature(cv::ocl::Context::CL_DOUBLE))
+ {
+ return; // returns silently
+ }
for (int j = 0; j < LOOP_TIMES; j++)
{
random_roi();
TEST_P(SetTo, Without_mask)
{
+ if(depth == CV_64F &&
+ !cv::ocl::Context::getContext()->supportsFeature(cv::ocl::Context::CL_DOUBLE))
+ {
+ return; // returns silently
+ }
for (int j = 0; j < LOOP_TIMES; j++)
{
random_roi();
TEST_P(SetTo, With_mask)
{
+ if(depth == CV_64F &&
+ !cv::ocl::Context::getContext()->supportsFeature(cv::ocl::Context::CL_DOUBLE))
+ {
+ return; // returns silently
+ }
for (int j = 0; j < LOOP_TIMES; j++)
{
random_roi();
TEST_P(convertC3C4, Accuracy)
{
+ if(depth == CV_64F &&
+ !cv::ocl::Context::getContext()->supportsFeature(cv::ocl::Context::CL_DOUBLE))
+ {
+ return; // returns silently
+ }
for (int j = 0; j < LOOP_TIMES; j++)
{
random_roi();