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

Sparse operations type for a different ordinal type. More...

#include <Kokkos_AltSparseOps.hpp>

List of all members.


Detailed Description

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

Sparse operations type for a different ordinal type.

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

This is used by Tpetra::CrsMatrix to "bind" the local sparse ops type, given its own (Local)Ordinal type. For AltSparseOps, the other_type typedef always specifies a specialization of AltSparseOps, regardless of the ordinal type O2. This is not necessarily true for other implementations of local sparse ops, so Tpetra developers should always get their local sparse ops type from the other_type typedef.

Template Parameters:
O2An ordinal type possibly different from Ordinal.

Definition at line 1002 of file Kokkos_AltSparseOps.hpp.


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