Kokkos Node API and Local Linear Algebra Kernels Version of the Day
Kokkos::DefaultHostSparseOps< Scalar, Ordinal, Node, Allocator >::bind_ordinal< O2 > Struct Template Reference

Local sparse operations type for a different ordinal type. More...

#include <Kokkos_DefaultSparseOps.hpp>

List of all members.


Detailed Description

template<class Scalar, class Ordinal, class Node, class Allocator = details::DefaultCRSAllocator>
template<class O2>
struct Kokkos::DefaultHostSparseOps< Scalar, Ordinal, Node, Allocator >::bind_ordinal< O2 >

Local sparse operations type for a different ordinal type.

The bind_scalar struct defines the type responsible for local sparse operations for an ordinal type O2, which may be different from Ordinal.

In the case of DefaultHostSparseOps, this class' typedef always specifies a specialization of DefaultHostSparseOps, regardless of the ordinal type S2. This is not necessarily true of other implementations of local sparse ops. Other local sparse ops implementations (especially those that wrap third-party libraries implementing sparse kernels) might use this to provide a "fall-back" sparse ops implementation of a possibly different type, if the third-party library does not support ordinal type O2.

Template Parameters:
O2An ordinal type possibly different from Ordinal.

Definition at line 409 of file Kokkos_DefaultSparseOps.hpp.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends