summaryrefslogtreecommitdiff
path: root/sc/source/core/opencl/op_math.hxx
diff options
context:
space:
mode:
authorzhenyu yuan <zhenyuyuan@multicorewareinc.com>2013-11-09 19:25:32 +0800
committerI-Jui (Ray) Sung <ray@multicorewareinc.com>2013-11-14 20:30:34 -0600
commit2c897e9161a80a472959d6cba713b10289fa2da2 (patch)
treee7c7c5b9aa5fb1516385a050d70d0e019c177ed6 /sc/source/core/opencl/op_math.hxx
parent35a0fe36a4dc359bb173e7512a9126912c3ccbe0 (diff)
GPU Calc: implemented EVEN
AMLOEXT-164 FIX Change-Id: Iaf27235357f4373fd63a1f36c30cc1c7f67f1046 Signed-off-by: haochen <haochen@multicorewareinc.com> Signed-off-by: I-Jui (Ray) Sung <ray@multicorewareinc.com>
Diffstat (limited to 'sc/source/core/opencl/op_math.hxx')
-rw-r--r--sc/source/core/opencl/op_math.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/sc/source/core/opencl/op_math.hxx b/sc/source/core/opencl/op_math.hxx
index fef872a35b9d..3620e3206916 100644
--- a/sc/source/core/opencl/op_math.hxx
+++ b/sc/source/core/opencl/op_math.hxx
@@ -225,6 +225,14 @@ public:
const std::string sSymName, SubArguments &vSubArguments);
virtual std::string BinFuncName(void) const { return "Log10"; }
};
+class OpEven: public Normal
+{
+public:
+ virtual void GenSlidingWindowFunction(std::stringstream &ss,
+ const std::string sSymName, SubArguments &vSubArguments);
+
+ virtual std::string BinFuncName(void) const { return "Even"; }
+};
class OpAverageIfs: public CheckVariables
{
public: