preCICE v3.2.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GinkgoRBFKernels.hpp
Go to the documentation of this file.
1#pragma once
2
5
6namespace precice {
7namespace mapping {
8
9std::shared_ptr<gko::Executor> create_device_executor(const std::string &execName, bool enableUnifiedMemory);
10
11namespace kernel {
12
13template <typename EvalFunctionType>
15 bool unifiedMemory,
16 gko::ptr_param<GinkgoMatrix> mtx, const std::array<bool, 3> activeAxis,
17 gko::ptr_param<GinkgoMatrix> supportPoints, gko::ptr_param<GinkgoMatrix> targetPoints,
18 EvalFunctionType f, ::precice::mapping::RadialBasisParameters rbf_params, bool addPolynomial, unsigned int extraDims = 0);
19
21 bool unifiedMemory,
22 gko::ptr_param<GinkgoMatrix> mtx, gko::ptr_param<const GinkgoMatrix> x, const unsigned int dims);
23
24} // namespace kernel
25} // namespace mapping
26} // namespace precice
void fill_polynomial_matrix(std::shared_ptr< const gko::Executor > exec, bool unifiedMemory, gko::ptr_param< GinkgoMatrix > mtx, gko::ptr_param< const GinkgoMatrix > x, const unsigned int dims)
void create_rbf_system_matrix(std::shared_ptr< const gko::Executor > exec, bool unifiedMemory, gko::ptr_param< GinkgoMatrix > mtx, const std::array< bool, 3 > activeAxis, gko::ptr_param< GinkgoMatrix > supportPoints, gko::ptr_param< GinkgoMatrix > targetPoints, EvalFunctionType f, ::precice::mapping::RadialBasisParameters rbf_params, bool addPolynomial, unsigned int extraDims)
std::shared_ptr< gko::Executor > create_device_executor(const std::string &execName, bool enableUnifiedMemory)
Main namespace of the precice library.
Wrapper struct that is used to transfer RBF-specific parameters to the GPU.