[Libreoffice-commits] core.git: sc/source

I-Jui Sung (Ray) ray at multicorewareinc.com
Fri Nov 15 17:52:30 PST 2013


 sc/source/core/opencl/formulagroupcl.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 9ab89a7599f79092027ae86b5b4cd0e3d67b8b4d
Author: I-Jui (Ray) Sung <ray at multicorewareinc.com>
Date:   Fri Nov 15 19:47:42 2013 -0600

    GPU Calc: an attempt to fix compilation error on Darwin
    
    Change-Id: I282ef4732f72d76baf647bb039847e8d7b3fd562

diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx
index 79c33ae..23b7a71 100644
--- a/sc/source/core/opencl/formulagroupcl.cxx
+++ b/sc/source/core/opencl/formulagroupcl.cxx
@@ -592,8 +592,9 @@ public:
             throw OpenCLError(err);
         // set kernel arg of reduction kernel
         // TODO(Wei Wei): use unique name for kernel
+        cl_mem buf = Base::GetCLBuffer();
         err = clSetKernelArg(redKernel, 0, sizeof(cl_mem),
-                (void *)&(Base::mpClmem));
+                (void *)&buf);
         if (CL_SUCCESS != err)
             throw OpenCLError(err);
 


More information about the Libreoffice-commits mailing list