Kokkos Node API and Local Linear Algebra Kernels Version of the Day
Classes | Namespaces | Functions
Kokkos_NodeExampleKernels.hpp File Reference

A file containing example kernels for parallel_for and parallel_reduce. More...

#include <Teuchos_RCP.hpp>
#include <Teuchos_ArrayRCP.hpp>
#include <Kokkos_NodeHelpers.hpp>

Go to the source code of this file.

Classes

struct  KokkosExamples::VecInit
 A kernel for parallel_for, with a simple vector initialization. More...
struct  KokkosExamples::VecReduce
 A kernel for parallel_reduce, with a simple sum reduction. More...

Namespaces

namespace  KokkosExamples
 

Namespace for Kokkos example classes.


Functions

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

Detailed Description

A file containing example kernels for parallel_for and parallel_reduce.

Definition in file Kokkos_NodeExampleKernels.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends