summaryrefslogtreecommitdiff
path: root/sc/source/core/opencl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-10-28 13:26:00 +0200
committerTor Lillqvist <tml@collabora.com>2014-10-28 13:26:00 +0200
commitca0670c5bb1d35c3960fbd8e44fb712f68770938 (patch)
treed2db183b348e2f37dded2a126ad1bbf238ed026e /sc/source/core/opencl
parented929e63aae8287f7b680b784b231140643269ac (diff)
Bin unused cl_kernel_function typedef
Change-Id: I42c944bdeb93dd0fdbc582ef48d8722380915bf1
Diffstat (limited to 'sc/source/core/opencl')
-rw-r--r--sc/source/core/opencl/openclwrapper.hxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/sc/source/core/opencl/openclwrapper.hxx b/sc/source/core/opencl/openclwrapper.hxx
index 0d9ce14ee616..c8ff48c40609 100644
--- a/sc/source/core/opencl/openclwrapper.hxx
+++ b/sc/source/core/opencl/openclwrapper.hxx
@@ -41,14 +41,6 @@ typedef struct _KernelEnv
cl_program mpkProgram;
} KernelEnv;
-extern "C" {
-
-// user defined, this is function wrapper which is used to set the input
-// parameters, launch kernel and copy data from GPU to CPU or CPU to GPU.
-typedef int ( *cl_kernel_function )( void **userdata, KernelEnv *kenv );
-
-}
-
namespace sc { namespace opencl {
typedef unsigned int uint;