[Libreoffice-commits] core.git: Branch 'feature/calc-group-interpreter' - sc/source

Michael Meeks michael.meeks at suse.com
Mon Jul 8 13:47:20 PDT 2013


 sc/source/core/opencl/openclwrapper.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit db1a7d3b2b1e98f87a76f9c7ecd7581e4e12bbe6
Author: Michael Meeks <michael.meeks at suse.com>
Date:   Mon Jul 8 21:49:31 2013 +0100

    try harder to setup the kernel environment.

diff --git a/sc/source/core/opencl/openclwrapper.cxx b/sc/source/core/opencl/openclwrapper.cxx
index 8dcf3d4..0c83d94 100755
--- a/sc/source/core/opencl/openclwrapper.cxx
+++ b/sc/source/core/opencl/openclwrapper.cxx
@@ -2114,6 +2114,7 @@ double *OclCalc::OclSimpleDeltaOperation(OpCode eOp, const double *pOpArray,
                                          const double *pSubtractSingle, size_t nElements)
 {
     KernelEnv kEnv;
+    SetKernelEnv(&kEnv);
 
     // select a kernel: cut & paste coding is utterly evil.
     const char *kernelName;


More information about the Libreoffice-commits mailing list