#include <Kokkos_CompObject.hpp>
Inheritance diagram for Kokkos::CompObject:


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). | |
| Flops * | getFlopCounter () 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 | |
| Flops * | flopCounter_ |
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.
1.4.7