Tpetra parallel linear algebra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
Tpetra::Details::DeepCopyCounter Namespace Reference

Counter for Kokkos::deep_copy calls. More...

Functions

void start ()
 Start the deep_copy counter. More...
 
void reset ()
 Reset the deep_copy counter. More...
 
void stop ()
 Stop the deep_copy counter. More...
 
size_t get_count_same_space ()
 Query the deep_copy counter for copies in the same space. More...
 
size_t get_count_different_space ()
 Query the deep_copy counter for copies between different spaces. More...
 

Detailed Description

Counter for Kokkos::deep_copy calls.

Function Documentation

void Tpetra::Details::DeepCopyCounter::start ( )

Start the deep_copy counter.

Definition at line 74 of file Tpetra_Details_KokkosCounter.cpp.

void Tpetra::Details::DeepCopyCounter::reset ( )

Reset the deep_copy counter.

Definition at line 79 of file Tpetra_Details_KokkosCounter.cpp.

void Tpetra::Details::DeepCopyCounter::stop ( )

Stop the deep_copy counter.

Definition at line 84 of file Tpetra_Details_KokkosCounter.cpp.

size_t Tpetra::Details::DeepCopyCounter::get_count_same_space ( )

Query the deep_copy counter for copies in the same space.

Definition at line 88 of file Tpetra_Details_KokkosCounter.cpp.

size_t Tpetra::Details::DeepCopyCounter::get_count_different_space ( )

Query the deep_copy counter for copies between different spaces.

Definition at line 92 of file Tpetra_Details_KokkosCounter.cpp.