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 45 of file Tpetra_Details_KokkosCounter.cpp.

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

Reset the deep_copy counter.

Definition at line 50 of file Tpetra_Details_KokkosCounter.cpp.

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

Stop the deep_copy counter.

Definition at line 55 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 59 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 63 of file Tpetra_Details_KokkosCounter.cpp.