diff options
author | I-Jui (Ray) Sung <ray@multicorewareinc.com> | 2013-11-15 19:47:42 -0600 |
---|---|---|
committer | I-Jui (Ray) Sung <ray@multicorewareinc.com> | 2013-11-15 19:51:51 -0600 |
commit | 9ab89a7599f79092027ae86b5b4cd0e3d67b8b4d (patch) | |
tree | ffe295ffef3e0fa973304c41c50c636fe1e7ac9f | |
parent | be7c599a125df6946c1b5a1233cda27740081273 (diff) |
GPU Calc: an attempt to fix compilation error on Darwin
Change-Id: I282ef4732f72d76baf647bb039847e8d7b3fd562
-rw-r--r-- | sc/source/core/opencl/formulagroupcl.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx index 79c33ae09caa..23b7a71b7faa 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); |