added support of old CC into GPU mean shift routines

This commit is contained in:
Alexey Spizhevoy
2011-07-08 13:59:23 +00:00
parent b50428bf65
commit e9837b0aa9
4 changed files with 7 additions and 11 deletions

View File

@@ -1478,7 +1478,7 @@ TEST_P(MeanShift, Proc)
EXPECT_MAT_NEAR(spmap_template, spmap, 0.0);
}
INSTANTIATE_TEST_CASE_P(ImgProc, MeanShift, testing::ValuesIn(devices(cv::gpu::FEATURE_SET_COMPUTE_12)));
INSTANTIATE_TEST_CASE_P(ImgProc, MeanShift, testing::ValuesIn(devices()));
struct MeanShiftSegmentation : testing::TestWithParam< std::tr1::tuple<cv::gpu::DeviceInfo, int> >
{
@@ -1540,7 +1540,7 @@ TEST_P(MeanShiftSegmentation, Regression)
}
INSTANTIATE_TEST_CASE_P(ImgProc, MeanShiftSegmentation, testing::Combine(
testing::ValuesIn(devices(cv::gpu::FEATURE_SET_COMPUTE_12)),
testing::ValuesIn(devices()),
testing::Values(0, 4, 20, 84, 340, 1364)));
////////////////////////////////////////////////////////////////////////////////