Ginkgo
Generated from pipelines/1330831941 branch based on master. Ginkgo version 1.8.0
A numerical linear algebra library targeting many-core architectures
Main Page
Tutorial
Examples
Publications
Citing Ginkgo
Ginkgo White Paper
Slides and Outreach
Contributing To Ginkgo
Using Ginkgo
Installing Ginkgo
Testing Ginkgo
Benchmarking Ginkgo
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
z
Functions
a
b
c
g
i
l
m
n
o
p
r
s
t
u
w
z
Variables
Typedefs
a
c
d
e
f
h
i
n
p
r
s
t
u
Enumerations
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
Typedefs
Enumerations
Related Functions
Related Pages
Files
File List
Ginkgo
•
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Modules
Pages
ginkgo
core
config
type_descriptor.hpp
1
// SPDX-FileCopyrightText: 2017 - 2024 The Ginkgo authors
2
//
3
// SPDX-License-Identifier: BSD-3-Clause
4
5
#ifndef GKO_PUBLIC_CORE_CONFIG_TYPE_DESCRIPTOR_HPP_
6
#define GKO_PUBLIC_CORE_CONFIG_TYPE_DESCRIPTOR_HPP_
7
8
9
#include <string>
10
11
namespace
gko
{
12
namespace
config {
13
14
37
class
type_descriptor
final {
38
public
:
49
explicit
type_descriptor
(std::string value_typestr =
"float64"
,
50
std::string index_typestr =
"int32"
);
51
55
const
std::string&
get_value_typestr
()
const
;
56
60
const
std::string&
get_index_typestr
()
const
;
61
62
private
:
63
std::string value_typestr_;
64
std::string index_typestr_;
65
};
66
67
75
template
<
typename
ValueType =
double
,
typename
IndexType =
int
>
76
type_descriptor
make_type_descriptor();
77
78
79
}
// namespace config
80
}
// namespace gko
81
82
#endif // GKO_PUBLIC_CORE_CONFIG_TYPE_DESCRIPTOR_HPP_
gko::config::type_descriptor::type_descriptor
type_descriptor(std::string value_typestr="float64", std::string index_typestr="int32")
type_descriptor constructor.
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:37
gko
The Ginkgo namespace.
Definition:
abstract_factory.hpp:20
gko::config::type_descriptor::get_value_typestr
const std::string & get_value_typestr() const
Get the value type string.
gko::config::type_descriptor::get_index_typestr
const std::string & get_index_typestr() const
Get the index type string.
Generated by
1.8.16