Kokkos Node API and Local Linear Algebra Kernels Version of the Day
Kokkos::DefaultHostSparseOps< void, Ordinal, Node, Allocator >::bind_scalar< S2 > Struct Template Reference

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

#include <Kokkos_DefaultSparseOps.hpp>

List of all members.


Detailed Description

template<class Ordinal, class Node, class Allocator>
template<class S2>
struct Kokkos::DefaultHostSparseOps< void, Ordinal, Node, Allocator >::bind_scalar< S2 >

Sparse operations type for a different scalar type.

The bind_scalar struct defines the type responsible for sparse operations for a scalar type S2, which may be different from scalar_type. (In fact, it _should_ be different than scalar_type=void in this case. The intended use case is to rebind scalar_type=void to the different scalar type S2 of a matrix.)

This always specifies a specialization of DefaultHostSparseOps, regardless of the scalar type S2.

Template Parameters:
S2A scalar type possibly different from scalar_type.

Definition at line 1248 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