Tpetra parallel linear algebra Version of the Day
Loading...
Searching...
No Matches
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>
#include <Teuchos_FancyOStream.hpp>

Go to the source code of this file.

Namespaces

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

Functions

void Tpetra::Details::DeepCopyCounter::start ()
 Start the deep_copy counter.
 
void Tpetra::Details::DeepCopyCounter::reset ()
 Reset the deep_copy counter.
 
void Tpetra::Details::DeepCopyCounter::stop ()
 Stop the deep_copy counter.
 
size_t Tpetra::Details::DeepCopyCounter::get_count_same_space ()
 Query the deep_copy counter for copies in the same space.
 
size_t Tpetra::Details::DeepCopyCounter::get_count_different_space ()
 Query the deep_copy counter for copies between different spaces.
 
void Tpetra::Details::FenceCounter::start ()
 Start the fence counter.
 
void Tpetra::Details::FenceCounter::reset ()
 Reset the fence counter.
 
void Tpetra::Details::FenceCounter::stop ()
 Stop the fence counter.
 
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()
 
size_t Tpetra::Details::FenceCounter::get_count_global (const std::string &device)
 Query the fence counter for given device, for an Kokkos::fence()
 
void Tpetra::Details::KokkosRegionCounter::start ()
 Start the counter.
 
void Tpetra::Details::KokkosRegionCounter::reset ()
 Reset the counter.
 
void Tpetra::Details::KokkosRegionCounter::stop ()
 Stop the counter.
 
size_t Tpetra::Details::KokkosRegionCounter::get_count_region_contains (const std::string &substr)
 How many regions containing substr have been seen.
 
void Tpetra::Details::KokkosRegionCounter::dump_regions (std::ostream &os)
 Print all observed region labels, separated by newline.
 

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.