41 #ifndef TPETRA_DETAILS_KOKKOS_COUNTER_HPP
42 #define TPETRA_DETAILS_KOKKOS_COUNTER_HPP
54 namespace DeepCopyCounter {
73 namespace FenceCounter {
94 #endif // TPETRA_DETAILS_KOKKOS_COUNTER_HPP
void reset()
Reset the deep_copy counter.
size_t get_count_same_space()
Query the deep_copy counter for copies in the same space.
size_t get_count_global(const std::string &device)
Query the fence counter for given device, for an Kokkos::fence()
void start()
Start the fence counter.
size_t get_count_different_space()
Query the deep_copy counter for copies between different spaces.
void reset()
Reset the fence counter.
void start()
Start the deep_copy counter.
void stop()
Stop the fence counter.
size_t get_count_instance(const std::string &device)
Query the fence counter for given device, for an exec_space_instance.fence()
void stop()
Stop the deep_copy counter.