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

Kohei Yoshida kohei.yoshida at collabora.com
Wed Jan 7 12:17:59 PST 2015


 sc/source/core/opencl/formulagroupcl.cxx |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit 613fbaf4f8c006db91d45d0cc17b1d5fd0167edb
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date:   Wed Jan 7 15:15:08 2015 -0500

    This is not needed.
    
    Change-Id: I5efce14f275ebc3cb64f452591ef50ce39c19e19

diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx
index 92567aa..b0a16a5 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)


More information about the Libreoffice-commits mailing list