summaryrefslogtreecommitdiff
path: root/sc/source/core/opencl/op_financial.hxx
diff options
context:
space:
mode:
authorminwang <min@multicorewareinc.com>2013-11-05 10:16:40 +0800
committerI-Jui (Ray) Sung <ray@multicorewareinc.com>2013-11-12 21:11:04 -0600
commit153bb4cc1e7009f2e2fa5fe277c397d5ad9a1730 (patch)
treef9843bff249a4c09dfa8372e231a796b66a0bfd0 /sc/source/core/opencl/op_financial.hxx
parent20029a72b3bb9a119e99bff7974bf6bb20e17924 (diff)
GPU Calc: implement fix for AMORDEGRC in GPU calc
AMLOEXT-98 FIX Change-Id: I9f63d023161e5ad7981374dedffb6f00663a1c66 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.hxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/sc/source/core/opencl/op_financial.hxx b/sc/source/core/opencl/op_financial.hxx
index f48b65005f04..070d2bb6ea0b 100644
--- a/sc/source/core/opencl/op_financial.hxx
+++ b/sc/source/core/opencl/op_financial.hxx
@@ -339,6 +339,16 @@ public:
virtual std::string BinFuncName(void) const { return "Coupnum"; }
};
+class OpAmordegrc: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 "Amordegrc"; }
+};
+
class OpReceived:public Normal
{
public: