mirror of
https://github.com/opencv/opencv.git
synced 2025-01-13 00:01:27 +08:00
Revert "disable CUDA generalized Hough Transform"
This reverts commit33d42b740c
. (cherry picked from commit5d099df578
)
This commit is contained in:
parent
cc73c7000f
commit
79e4f7eb78
@ -40,8 +40,6 @@
|
|||||||
//
|
//
|
||||||
//M*/
|
//M*/
|
||||||
|
|
||||||
#define CUDA_DISABLER
|
|
||||||
|
|
||||||
#if !defined CUDA_DISABLER
|
#if !defined CUDA_DISABLER
|
||||||
|
|
||||||
#include <thrust/device_ptr.h>
|
#include <thrust/device_ptr.h>
|
||||||
|
@ -40,8 +40,6 @@
|
|||||||
//
|
//
|
||||||
//M*/
|
//M*/
|
||||||
|
|
||||||
#define CUDA_DISABLER
|
|
||||||
|
|
||||||
#include "precomp.hpp"
|
#include "precomp.hpp"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
@ -189,7 +189,7 @@ PARAM_TEST_CASE(GeneralizedHough, cv::gpu::DeviceInfo, UseRoi)
|
|||||||
{
|
{
|
||||||
};
|
};
|
||||||
|
|
||||||
GPU_TEST_P(GeneralizedHough, DISABLED_POSITION)
|
GPU_TEST_P(GeneralizedHough, POSITION)
|
||||||
{
|
{
|
||||||
const cv::gpu::DeviceInfo devInfo = GET_PARAM(0);
|
const cv::gpu::DeviceInfo devInfo = GET_PARAM(0);
|
||||||
cv::gpu::setDevice(devInfo.deviceID());
|
cv::gpu::setDevice(devInfo.deviceID());
|
||||||
|
Loading…
Reference in New Issue
Block a user