5 #ifndef GKO_PUBLIC_CORE_PRECONDITIONER_UTILS_HPP_
6 #define GKO_PUBLIC_CORE_PRECONDITIONER_UTILS_HPP_
11 #include <ginkgo/core/preconditioner/isai.hpp>
15 namespace preconditioner {
20 template <
typename ExplicitType,
template <
typename...>
class TemplateType>
21 struct is_instantiation_of : std::false_type {};
23 template <
template <
typename...>
class Type,
typename... Param>
24 struct is_instantiation_of<Type<Param...>, Type> : std::true_type {};
27 template <
typename ValueType,
typename IndexType>
28 struct is_instantiation_of<LowerIsai<ValueType, IndexType>, LowerIsai>
36 #endif // GKO_PUBLIC_CORE_PRECONDITIONER_UTILS_HPP_