11#ifndef TPETRA_DETAILS_KOKKOS_COUNTER_HPP
12#define TPETRA_DETAILS_KOKKOS_COUNTER_HPP
19#include <Teuchos_FancyOStream.hpp>
Counter for Kokkos::deep_copy calls.
size_t get_count_different_space()
Query the deep_copy counter for copies between different spaces.
size_t get_count_same_space()
Query the deep_copy counter for copies in the same space.
void stop()
Stop the deep_copy counter.
void start()
Start the deep_copy counter.
void reset()
Reset the deep_copy counter.
Counter for Kokkos::fence calls.
size_t get_count_instance(const std::string &device)
Query the fence counter for given device, for an exec_space_instance.fence().
size_t get_count_global(const std::string &device)
Query the fence counter for given device, for an Kokkos::fence().
void reset()
Reset the fence counter.
void start()
Start the fence counter.
void stop()
Stop the fence counter.
Counter for Kokkos regions representing third-party library usage.
void reset()
Reset the counter.
void dump_regions(std::ostream &os)
Print all observed region labels, separated by newline.
size_t get_count_region_contains(const std::string &substr)
How many regions containing substr have been seen.
void stop()
Stop the counter.
void start()
Start the counter.
Nonmember function that computes a residual Computes R = B - A * X.
Namespace Tpetra contains the class and methods constituting the Tpetra library.