summaryrefslogtreecommitdiff
path: root/sc/source/core/opencl/op_math.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/opencl/op_math.hxx')
-rw-r--r--sc/source/core/opencl/op_math.hxx12
1 files changed, 8 insertions, 4 deletions
diff --git a/sc/source/core/opencl/op_math.hxx b/sc/source/core/opencl/op_math.hxx
index 8ffe1ee779e5..92f9701eefd0 100644
--- a/sc/source/core/opencl/op_math.hxx
+++ b/sc/source/core/opencl/op_math.hxx
@@ -503,20 +503,24 @@ public:
virtual void GenerateCode( outputstream& ss ) const override;
};
-class OpEqual : public OpMathTwoArguments
+class OpEqual : public Normal
{
public:
- virtual void GenerateCode( outputstream& ss ) const override;
+ virtual void GenSlidingWindowFunction(outputstream &ss,
+ const std::string &sSymName, SubArguments &vSubArguments) override;
virtual std::string BinFuncName() const override { return "eq"; }
virtual void BinInlineFun(std::set<std::string>& , std::set<std::string>& ) override;
+ virtual bool takeString() const override { return true; }
};
-class OpNotEqual : public OpMathTwoArguments
+class OpNotEqual : public Normal
{
public:
- virtual void GenerateCode( outputstream& ss ) const override;
+ virtual void GenSlidingWindowFunction(outputstream &ss,
+ const std::string &sSymName, SubArguments &vSubArguments) override;
virtual std::string BinFuncName() const override { return "neq"; }
virtual void BinInlineFun(std::set<std::string>& , std::set<std::string>& ) override;
+ virtual bool takeString() const override { return true; }
};
class OpLessEqual : public OpMathTwoArguments