Added few opencl optimizations (as Intel platform codepath):

1. HaarDetetctor: repack nodes to reduce memory footprint
2. cornerMinEigVal: 4 ocl kernels are fused into 1 for sobel calculation
This commit is contained in:
konstantin
2013-10-23 20:38:11 +04:00
parent 6dda2652cd
commit 2f62940a0e
6 changed files with 443 additions and 11 deletions

View File

@@ -111,6 +111,7 @@ namespace cv
bool haveDoubleSupport;
bool isUnifiedMemory; // 1 means integrated GPU, otherwise this value is 0
bool isIntelDevice;
std::string compilationExtraOptions;
@@ -157,7 +158,8 @@ namespace cv
{
FEATURE_CL_DOUBLE = 1,
FEATURE_CL_UNIFIED_MEM,
FEATURE_CL_VER_1_2
FEATURE_CL_VER_1_2,
FEATURE_CL_INTEL_DEVICE
};
// Represents OpenCL context, interface