Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
5 : * This Source Code Form is subject to the terms of the Mozilla Public
6 : * License, v. 2.0. If a copy of the MPL was not distributed with this
7 : * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 : */
9 :
10 : #ifndef SC_OPENCL_OP_ARRAY_HXX
11 : #define SC_OPENCL_OP_ARRAY_HXX
12 :
13 : #include "opbase.hxx"
14 :
15 : namespace sc { namespace opencl {
16 :
17 0 : class OpSumX2MY2: public CheckVariables
18 : {
19 : public:
20 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
21 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
22 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "SumX2MY2"; }
23 : };
24 :
25 0 : class OpSumX2PY2: public CheckVariables
26 : {
27 : public:
28 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
29 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
30 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "SumX2PY2"; }
31 : };
32 :
33 0 : class OpSumXMY2: public CheckVariables
34 : {
35 : public:
36 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
37 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
38 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "SumXMY2"; }
39 : };
40 : }}
41 :
42 : #endif
43 :
44 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|