LibreOffice Module sc (master)  1
op_array.hxx
Go to the documentation of this file.
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 INCLUDED_SC_SOURCE_CORE_OPENCL_OP_ARRAY_HXX
11 #define INCLUDED_SC_SOURCE_CORE_OPENCL_OP_ARRAY_HXX
12 
13 #include "opbase.hxx"
14 
15 namespace sc::opencl {
16 
18 {
19 public:
20  virtual void GenSlidingWindowFunction(std::stringstream &ss,
21  const std::string &sSymName, SubArguments &vSubArguments) override;
22  virtual std::string BinFuncName() const override { return "SumX2MY2"; }
23 };
24 
26 {
27 public:
28  virtual void GenSlidingWindowFunction(std::stringstream &ss,
29  const std::string &sSymName, SubArguments &vSubArguments) override;
30  virtual std::string BinFuncName() const override { return "SumX2PY2"; }
31 };
32 
34 {
35 public:
36  virtual void GenSlidingWindowFunction(std::stringstream &ss,
37  const std::string &sSymName, SubArguments &vSubArguments) override;
38  virtual std::string BinFuncName() const override { return "SumXMY2"; }
39 };
40 }
41 
42 #endif
43 
44 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual std::string BinFuncName() const override
Definition: op_array.hxx:30
virtual std::string BinFuncName() const override
Definition: op_array.hxx:38
virtual std::string BinFuncName() const override
Definition: op_array.hxx:22
std::vector< DynamicKernelArgumentRef > SubArguments
Definition: opbase.hxx:215
Arguments that are actually compile-time constant string Currently, only the hash is passed...
virtual void GenSlidingWindowFunction(std::stringstream &ss, const std::string &sSymName, SubArguments &vSubArguments) override
Definition: op_array.cxx:19
virtual void GenSlidingWindowFunction(std::stringstream &ss, const std::string &sSymName, SubArguments &vSubArguments) override
Definition: op_array.cxx:132
virtual void GenSlidingWindowFunction(std::stringstream &ss, const std::string &sSymName, SubArguments &vSubArguments) override
Definition: op_array.cxx:76