Skip to content

Commit 786b482

Browse files
committed
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>
1 parent 0020fbc commit 786b482

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

opencl/oclkernels.h

+1-5
Original file line numberDiff line numberDiff line change
@@ -1045,7 +1045,6 @@ KERNEL(
10451045
\n histResult[get_group_id(0)] = localHist[0];
10461046
\n
10471047
\n } // kernel_HistogramRectAllChannelsReduction_Grey
1048-
10491048
)
10501049

10511050
// ThresholdRectToPix Kernel
@@ -1174,10 +1173,8 @@ void kernel_ThresholdRectToPix_OneChan(
11741173
pix[w] = word;
11751174
}
11761175
}
1177-
11781176
)
11791177

1180-
11811178
KERNEL(
11821179
\n#define RED_SHIFT 24\n
11831180
\n#define GREEN_SHIFT 16\n
@@ -1209,10 +1206,9 @@ KERNEL(
12091206
dstData[pixelIdx] = output;
12101207
}
12111208
)
1212-
#endif
12131209

12141210
; // close char*
12151211

12161212
#endif // USE_EXTERNAL_KERNEL
1217-
//#endif //_OCL_KERNEL_H_
1213+
#endif //_OCL_KERNEL_H_
12181214
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

0 commit comments

Comments
 (0)