summaryrefslogtreecommitdiff
path: root/sc/source/core/opencl/op_math.hxx
diff options
context:
space:
mode:
authorfengzeng <fengzeng@multicorewareinc.com>2013-11-11 11:45:02 +0800
committerI-Jui (Ray) Sung <ray@multicorewareinc.com>2013-11-14 20:30:54 -0600
commit6eceefc23748c92d29fb5da8f84fcb54cb78bca4 (patch)
treea2fc02243ea6081baec0629a75e6812bb5e8ebb8 /sc/source/core/opencl/op_math.hxx
parent384d21b87e69ba8926d40421dc45f61a011fb089 (diff)
GPU Calc: implemented SQRTPI
AMLOEXT-182 FIX Change-Id: Iceab026b8945863280d2393f9beb4145dfe45fce 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 94752845aebb..f6ead91e66a1 100644
--- a/sc/source/core/opencl/op_math.hxx
+++ b/sc/source/core/opencl/op_math.hxx
@@ -306,6 +306,14 @@ public:
virtual std::string BinFuncName(void) const { return "Mod"; }
};
+class OpSqrtPi: public Normal
+{
+public:
+ virtual void GenSlidingWindowFunction(std::stringstream &ss,
+ const std::string sSymName, SubArguments &vSubArguments);
+
+ virtual std::string BinFuncName(void) const { return "SqrtPi"; }
+};
class OpCombina: public Normal
{