sc/source/core/opencl/formulagroupcl.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 9ab89a7599f79092027ae86b5b4cd0e3d67b8b4d Author: I-Jui (Ray) Sung <r...@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); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits