diff options
author | xinjiang <xinjiang@multicorewareinc.com> | 2013-11-05 13:57:18 +0800 |
---|---|---|
committer | I-Jui (Ray) Sung <ray@multicorewareinc.com> | 2013-11-12 22:38:28 -0600 |
commit | 9ad4cca4a031fbcc8a1def7172b8596489616b06 (patch) | |
tree | b648d4db434e8f8cc5898e058e3d6e7ca1646c3b /sc/source/core/opencl/op_financial.hxx | |
parent | 6d59c61bf057a18dc1e10fe1401420a0f8d5ca60 (diff) |
GPU Calc: implemented for MDURATION
AMLOEXT-126 FIX
Change-Id: Ie246a39aab64c98497df07e866c77ccd0b26b308
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_financial.hxx')
-rw-r--r-- | sc/source/core/opencl/op_financial.hxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sc/source/core/opencl/op_financial.hxx b/sc/source/core/opencl/op_financial.hxx index 35da5f3d810a..3a1350aa5611 100644 --- a/sc/source/core/opencl/op_financial.hxx +++ b/sc/source/core/opencl/op_financial.hxx @@ -135,7 +135,18 @@ public: virtual std::string BinFuncName(void) const { return "Duration_ADD"; } }; +class OpMDuration: public Normal +{ +public: + virtual std::string GetBottom(void) { return "0"; } + virtual void GenSlidingWindowFunction(std::stringstream& ss, + const std::string sSymName, SubArguments& vSubArguments); + virtual void BinInlineFun(std::set<std::string>& , + std::set<std::string>& ); + + virtual std::string BinFuncName(void) const {return "MDuration"; } +}; class Fvschedule: public Normal { |