From e9a1afbd3e12c6935cbacbff84b1b70fea0add85 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Tue, 12 Jul 2016 19:30:53 +0100 Subject: tdf#100883 - opencl impls. that use SEH are still bad. Amazingly we fell-back to the old calculation path for crashes in older LibreOffices, might as well have this on master. Change-Id: Ifc1de41c93329207d7a1917c736e361d840c2821 Reviewed-on: https://gerrit.libreoffice.org/27166 Tested-by: Jenkins Reviewed-by: Michael Meeks --- include/opencl/openclwrapper.hxx | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/opencl/openclwrapper.hxx b/include/opencl/openclwrapper.hxx index b173d89ba2f3..afd34c680fbc 100644 --- a/include/opencl/openclwrapper.hxx +++ b/include/opencl/openclwrapper.hxx @@ -53,6 +53,7 @@ struct OPENCL_DLLPUBLIC GPUEnv }; extern OPENCL_DLLPUBLIC GPUEnv gpuEnv; +extern OPENCL_DLLPUBLIC sal_uInt64 kernelFailures; OPENCL_DLLPUBLIC bool generatBinFromKernelSource( cl_program program, const char * clFileName ); OPENCL_DLLPUBLIC bool buildProgramFromBinary(const char* buildOption, GPUEnv* gpuEnv, const char* filename, int idx); -- cgit