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 #pragma once
10 
11 #include "opbase.hxx"
12 
13 namespace sc::opencl {
14 
16 {
17 public:
18  virtual void GenSlidingWindowFunction(std::stringstream &ss,
19  const std::string &sSymName, SubArguments &vSubArguments) override;
20  virtual std::string BinFuncName() const override { return "SumX2MY2"; }
21 };
22 
24 {
25 public:
26  virtual void GenSlidingWindowFunction(std::stringstream &ss,
27  const std::string &sSymName, SubArguments &vSubArguments) override;
28  virtual std::string BinFuncName() const override { return "SumX2PY2"; }
29 };
30 
32 {
33 public:
34  virtual void GenSlidingWindowFunction(std::stringstream &ss,
35  const std::string &sSymName, SubArguments &vSubArguments) override;
36  virtual std::string BinFuncName() const override { return "SumXMY2"; }
37 };
38 }
39 
40 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual std::string BinFuncName() const override
Definition: op_array.hxx:28
virtual std::string BinFuncName() const override
Definition: op_array.hxx:36
virtual std::string BinFuncName() const override
Definition: op_array.hxx:20
std::vector< DynamicKernelArgumentRef > SubArguments
Definition: opbase.hxx:214
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