5 #ifndef GKO_PUBLIC_CORE_PRECONDITIONER_UTILS_HPP_
6 #define GKO_PUBLIC_CORE_PRECONDITIONER_UTILS_HPP_
12 #include <ginkgo/core/preconditioner/isai.hpp>
16 namespace preconditioner {
21 template <
typename ExplicitType,
template <
typename...>
class TemplateType>
22 struct is_instantiation_of : std::false_type {};
24 template <
template <
typename...>
class Type,
typename... Param>
25 struct is_instantiation_of<Type<Param...>, Type> : std::true_type {};
28 template <
typename ValueType,
typename IndexType>
29 struct is_instantiation_of<LowerIsai<ValueType, IndexType>, LowerIsai>
37 #endif // GKO_PUBLIC_CORE_PRECONDITIONER_UTILS_HPP_