|
Ginkgo
Generated from pipelines/1589998975 branch based on develop. Ginkgo version 1.10.0
A numerical linear algebra library targeting many-core architectures
|
5 #ifndef GKO_PUBLIC_CORE_CONFIG_TYPE_DESCRIPTOR_HPP_
6 #define GKO_PUBLIC_CORE_CONFIG_TYPE_DESCRIPTOR_HPP_
11 #include <ginkgo/core/base/types.hpp>
53 std::string index_typestr =
"int32",
54 std::string global_index_typestr =
"int64");
78 std::string value_typestr_;
79 std::string index_typestr_;
80 std::string global_index_typestr_;
92 template <
typename ValueType = double,
typename IndexType =
int32,
93 typename GlobalIndexType =
int64>
100 #endif // GKO_PUBLIC_CORE_CONFIG_TYPE_DESCRIPTOR_HPP_
type_descriptor(std::string value_typestr="float64", std::string index_typestr="int32", std::string global_index_typestr="int64")
type_descriptor constructor.
This class describes the value and index types to be used when building a Ginkgo type from a configur...
Definition: type_descriptor.hpp:39
The Ginkgo namespace.
Definition: abstract_factory.hpp:20
const std::string & get_local_index_typestr() const
Get the local index type string, which gives the same result as get_index_typestr()
const std::string & get_global_index_typestr() const
Get the global index type string.
const std::string & get_value_typestr() const
Get the value type string.
std::int64_t int64
64-bit signed integral type.
Definition: types.hpp:112
std::int32_t int32
32-bit signed integral type.
Definition: types.hpp:106
const std::string & get_index_typestr() const
Get the index type string.