mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-01 07:59:05 +08:00
OpenCL: Add static attribute for kernel_src
It is only used in openclwrapper.cpp. Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
970622fbd1
commit
ba17bc8204
@ -18,7 +18,7 @@
|
||||
// cl_amd_fp64: AMD extension
|
||||
// use build option outside to define fp_t
|
||||
/////////////////////////////////////////////
|
||||
const char *kernel_src = KERNEL(
|
||||
static const char* kernel_src = KERNEL(
|
||||
\n#ifdef KHR_DP_EXTENSION\n
|
||||
\n#pragma OPENCL EXTENSION cl_khr_fp64 : enable\n
|
||||
\n#elif AMD_DP_EXTENSION\n
|
||||
|
Loading…
Reference in New Issue
Block a user