Commit 4e0b7f39 authored by Amro's avatar Amro

quick fix to avoid CMake 3.5 crashing in cl2cpp.cmake

see https://github.com/Itseez/opencv/issues/6370
parent 0965aa25
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
#define WIDTH_MULTIPLE (32 >> 2) #define WIDTH_MULTIPLE (32 >> 2)
///////////////////////////////////////////////////////// /////////////////////////////////////////////////////////
//******************************************************* //------------------------------------------------------
// basicretinafilter // basicretinafilter
//////////////// _spatiotemporalLPfilter //////////////// //////////////// _spatiotemporalLPfilter ////////////////
//_horizontalCausalFilter_addInput //_horizontalCausalFilter_addInput
...@@ -380,13 +380,13 @@ kernel void localLuminanceAdaptation( ...@@ -380,13 +380,13 @@ kernel void localLuminanceAdaptation(
output[offset] = (_maxInputValue + X0) * input_val / (input_val + X0 + 0.00000000001f); output[offset] = (_maxInputValue + X0) * input_val / (input_val + X0 + 0.00000000001f);
} }
// end of basicretinafilter // end of basicretinafilter
//******************************************************* //------------------------------------------------------
///////////////////////////////////////////////////////// /////////////////////////////////////////////////////////
///////////////////////////////////////////////////////// /////////////////////////////////////////////////////////
//****************************************************** //------------------------------------------------------
// magno // magno
// TODO: this kernel has too many buffer accesses, better to make it // TODO: this kernel has too many buffer accesses, better to make it
// vector read/write for fetch efficiency // vector read/write for fetch efficiency
...@@ -427,7 +427,7 @@ kernel void amacrineCellsComputing( ...@@ -427,7 +427,7 @@ kernel void amacrineCellsComputing(
} }
///////////////////////////////////////////////////////// /////////////////////////////////////////////////////////
//****************************************************** //------------------------------------------------------
// parvo // parvo
// TODO: this kernel has too many buffer accesses, needs optimization // TODO: this kernel has too many buffer accesses, needs optimization
kernel void OPL_OnOffWaysComputing( kernel void OPL_OnOffWaysComputing(
...@@ -473,7 +473,7 @@ kernel void OPL_OnOffWaysComputing( ...@@ -473,7 +473,7 @@ kernel void OPL_OnOffWaysComputing(
} }
///////////////////////////////////////////////////////// /////////////////////////////////////////////////////////
//****************************************************** //------------------------------------------------------
// retinacolor // retinacolor
inline int bayerSampleOffset(int step, int rows, int x, int y) inline int bayerSampleOffset(int step, int rows, int x, int y)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment