opencl: Format OpenCL kernel code

* Remove some empty lines to get a more uniform code
* Fix #endif handling at end of file

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2016-11-25 17:23:48 +01:00
parent 0020fbc0bd
commit 786b482ef8

View File

@ -1045,7 +1045,6 @@ KERNEL(
\n histResult[get_group_id(0)] = localHist[0];
\n
\n } // kernel_HistogramRectAllChannelsReduction_Grey
)
// ThresholdRectToPix Kernel
@ -1174,10 +1173,8 @@ void kernel_ThresholdRectToPix_OneChan(
pix[w] = word;
}
}
)
KERNEL(
\n#define RED_SHIFT 24\n
\n#define GREEN_SHIFT 16\n
@ -1209,10 +1206,9 @@ KERNEL(
dstData[pixelIdx] = output;
}
)
#endif
; // close char*
#endif // USE_EXTERNAL_KERNEL
//#endif //_OCL_KERNEL_H_
#endif //_OCL_KERNEL_H_
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */