Kokkos::CompObject Class Reference

Kokkos::CompObject: Functionality and data that is common to all computational classes. More...

#include <Kokkos_CompObject.hpp>

Inheritance diagram for Kokkos::CompObject:

Inheritance graph
[legend]
Collaboration diagram for Kokkos::CompObject:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Constructors/Destructor
 CompObject ()
 Basic CompObject constuctor.
 CompObject (const CompObject &source)
 CompObject copy constructor.
virtual ~CompObject ()
 CompObject destructor.
Set/Get counter method
void setFlopCounter (const Flops &flopCounter)
 Set the internal Flops() pointer.
void setFlopCounter (const CompObject &CompObject)
 Set the internal Flops() pointer to the flop counter of another CompObject.
void unsetFlopCounter ()
 Set the internal Flops() pointer to 0 (no flops counted).
FlopsgetFlopCounter () const
 Get the pointer to the Flops() object associated with this object, returns 0 if none.
Set flop count methods
void resetFlops () const
 Resets the number of floating point operations to zero for this multi-vector.
double getFlops () const
 Returns the number of floating point operations with this multi-vector.
Update flop count methods
void updateFlops (int flops) const
 Increment flop count for this object.
void updateFlops (long int flops) const
 Increment flop count for this object.
void updateFlops (double flops) const
 Increment flop count for this object.
void updateFlops (float flops) const
 Increment flop count for this object.

Protected Attributes

FlopsflopCounter_

Detailed Description

Kokkos::CompObject: Functionality and data that is common to all computational classes.

The Kokkos::CompObject is a base class for all Kokkos computational objects. It provides the basic mechanisms and interface specifications for floating point operations using Kokkos::Flops objects.


The documentation for this class was generated from the following file:
Generated on Wed May 12 21:42:02 2010 for Kokkos by  doxygen 1.4.7