Kokkos Node API and Local Linear Algebra Kernels Version of the Day
Classes | Functions
KokkosExamples Namespace Reference

Namespace for Kokkos example classes. More...

Classes

class  DummySparseKernel
 A dummy-class illustrating the components necessary for a Kokkos sparse operations provider. More...
struct  VecInit
 A kernel for parallel_for, with a simple vector initialization. More...
struct  VecReduce
 A kernel for parallel_reduce, with a simple sum reduction. More...

Functions

template<class NODE >
void initVec (Teuchos::RCP< NODE > node, Teuchos::ArrayRCP< int > data)
 A wrapper for kernel VecInit.
template<class NODE >
int reduceVec (Teuchos::RCP< NODE > node, Teuchos::ArrayRCP< const int > data)
 A wrapper for for VecReduce.

Detailed Description

Namespace for Kokkos example classes.


Function Documentation

template<class NODE >
void KokkosExamples::initVec ( Teuchos::RCP< NODE >  node,
Teuchos::ArrayRCP< int >  data 
)

A wrapper for kernel VecInit.

Examples:
SimpleNodeExample.cpp.

Definition at line 30 of file Kokkos_NodeExampleKernels.hpp.

template<class NODE >
int KokkosExamples::reduceVec ( Teuchos::RCP< NODE >  node,
Teuchos::ArrayRCP< const int >  data 
)

A wrapper for for VecReduce.

Examples:
SimpleNodeExample.cpp.

Definition at line 59 of file Kokkos_NodeExampleKernels.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends