Kokkos::ReadyBufferHelper< Node > Class Template Reference

#include <Kokkos_NodeHelpers.hpp>

List of all members.

Public Member Functions

 ReadyBufferHelper (Teuchos::RCP< Node > node)
virtual ~ReadyBufferHelper ()
void begin ()
template<class T>
const T * addConstBuffer (Teuchos::ArrayRCP< const T > buff)
template<class T>
T * addNonConstBuffer (Teuchos::ArrayRCP< T > buff)
void end ()


Detailed Description

template<class Node>
class Kokkos::ReadyBufferHelper< Node >

A class to assist in readying buffers via the Node::readyBuffer() method.


Constructor & Destructor Documentation

template<class Node>
Kokkos::ReadyBufferHelper< Node >::ReadyBufferHelper ( Teuchos::RCP< Node >  node  ) 

The node via which buffers are being readied.

template<class Node>
Kokkos::ReadyBufferHelper< Node >::~ReadyBufferHelper (  )  [virtual]

Destructor.


Member Function Documentation

template<class Node>
void Kokkos::ReadyBufferHelper< Node >::begin (  ) 

Begin the ready-buffer transaction.

template<class Node>
template<class T>
const T * Kokkos::ReadyBufferHelper< Node >::addConstBuffer ( Teuchos::ArrayRCP< const T >  buff  ) 

Add a const buffer.

template<class Node>
template<class T>
T * Kokkos::ReadyBufferHelper< Node >::addNonConstBuffer ( Teuchos::ArrayRCP< T >  buff  ) 

Add a non-const buffer.

template<class Node>
void Kokkos::ReadyBufferHelper< Node >::end (  ) 

End the ready-buffer transaction.


The documentation for this class was generated from the following file: