Tpetra parallel linear algebra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
Tpetra_Details_KokkosCounter.hpp File Reference

Declaration of various tools for counting Kokkos calls of various types using the Kokkos Profiling Library. More...

#include <string>

Go to the source code of this file.

Namespaces

 Tpetra
 Namespace Tpetra contains the class and methods constituting the Tpetra library.
 
 Tpetra::Details
 Nonmember function that computes a residual Computes R = B - A * X.
 
 Tpetra::Details::DeepCopyCounter
 Counter for Kokkos::deep_copy calls.
 
 Tpetra::Details::FenceCounter
 Counter for Kokkos::fence calls.
 

Functions

void Tpetra::Details::DeepCopyCounter::start ()
 Start the deep_copy counter. More...
 
void Tpetra::Details::DeepCopyCounter::reset ()
 Reset the deep_copy counter. More...
 
void Tpetra::Details::DeepCopyCounter::stop ()
 Stop the deep_copy counter. More...
 
size_t Tpetra::Details::DeepCopyCounter::get_count_same_space ()
 Query the deep_copy counter for copies in the same space. More...
 
size_t Tpetra::Details::DeepCopyCounter::get_count_different_space ()
 Query the deep_copy counter for copies between different spaces. More...
 
void Tpetra::Details::FenceCounter::start ()
 Start the fence counter. More...
 
void Tpetra::Details::FenceCounter::reset ()
 Reset the fence counter. More...
 
void Tpetra::Details::FenceCounter::stop ()
 Stop the fence counter. More...
 
size_t Tpetra::Details::FenceCounter::get_count_instance (const std::string &device)
 Query the fence counter for given device, for an exec_space_instance.fence() More...
 
size_t Tpetra::Details::FenceCounter::get_count_global (const std::string &device)
 Query the fence counter for given device, for an Kokkos::fence() More...
 

Detailed Description

Declaration of various tools for counting Kokkos calls of various types using the Kokkos Profiling Library.

Definition in file Tpetra_Details_KokkosCounter.hpp.