summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2015-01-07 15:15:08 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2015-01-07 15:16:31 -0500
commit613fbaf4f8c006db91d45d0cc17b1d5fd0167edb (patch)
treed7927af7310572e22793a9fd4c176c6309f0d29a /sc
parent6304f5e8e23cd9c9afbeab87f20100498175d4e6 (diff)
This is not needed.
Change-Id: I5efce14f275ebc3cb64f452591ef50ce39c19e19
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/opencl/formulagroupcl.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx
index 92567aa13050..b0a16a59ab24 100644
--- a/sc/source/core/opencl/formulagroupcl.cxx
+++ b/sc/source/core/opencl/formulagroupcl.cxx
@@ -224,10 +224,7 @@ public:
{
throw Unhandled();
}
- // marshaling
- // Obtain cl context
- ::opencl::KernelEnv kEnv;
- ::opencl::setKernelEnv(&kEnv);
+
// Pass the scalar result back to the rest of the formula kernel
cl_int err = clSetKernelArg(k, argno, sizeof(cl_uint), (void*)&hashCode);
if (CL_SUCCESS != err)