summaryrefslogtreecommitdiff
path: root/include/opencl/openclwrapper.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/opencl/openclwrapper.hxx')
-rw-r--r--include/opencl/openclwrapper.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/opencl/openclwrapper.hxx b/include/opencl/openclwrapper.hxx
index 233412fdb4eb..5f71b2a205f3 100644
--- a/include/opencl/openclwrapper.hxx
+++ b/include/opencl/openclwrapper.hxx
@@ -26,7 +26,8 @@
#include <cstdio>
-namespace opencl {
+namespace opencl
+{
struct KernelEnv
{
@@ -56,6 +57,8 @@ struct OPENCL_DLLPUBLIC GPUEnv
extern OPENCL_DLLPUBLIC GPUEnv gpuEnv;
extern OPENCL_DLLPUBLIC sal_uInt64 kernelFailures;
+OPENCL_DLLPUBLIC bool canUseOpenCL();
+
OPENCL_DLLPUBLIC bool generatBinFromKernelSource( cl_program program, const char * clFileName );
OPENCL_DLLPUBLIC bool buildProgramFromBinary(const char* buildOption, GPUEnv* gpuEnv, const char* filename, int idx);
OPENCL_DLLPUBLIC void setKernelEnv( KernelEnv *envInfo );