Ginkgo: ginkgo/core/config/config.hpp Source File

| Ginkgo Generated from branch based on main. Ginkgo version 1.11.0 A numerical linear algebra library targeting many-core architectures

Loading...
Searching...
No Matches
config.hpp
1// SPDX-FileCopyrightText: 2017 - 2025 The Ginkgo authors
2//
3// SPDX-License-Identifier: BSD-3-Clause
4
5#ifndef GKO_PUBLIC_CORE_CONFIG_CONFIG_HPP_
6#define GKO_PUBLIC_CORE_CONFIG_CONFIG_HPP_
7
8
9#include <map>
10#include <string>
11#include <unordered_map>
12
13#include <ginkgo/core/base/lin_op.hpp>
14#include <ginkgo/core/base/types.hpp>
15#include <ginkgo/core/config/type_descriptor.hpp>
16#include <ginkgo/core/solver/solver_base.hpp>
17
18
19namespace gko {
20namespace config {
21
22
23class registry;
24
25
26class pnode;
27
28
197deferred_factory_parameter<gko::LinOpFactory> parse(
198 const pnode& config, const registry& context,
199 const type_descriptor& td = make_type_descriptor<>());
200
201
202} // namespace config
203} // namespace gko
204
205
206#endif // GKO_PUBLIC_CORE_CONFIG_CONFIG_HPP_
gko::config::pnode
pnode describes a tree of properties.
Definition property_tree.hpp:28
gko::config::registry
This class stores additional context for creating Ginkgo objects from configuration files.
Definition registry.hpp:167
gko::config::type_descriptor
This class describes the value and index types to be used when building a Ginkgo type from a configur...
Definition type_descriptor.hpp:39
gko
The Ginkgo namespace.
Definition abstract_factory.hpp:20