Tpetra parallel linear algebra Version of the Day
Loading...
Searching...
No Matches
Tpetra::Details::DeepCopyCounter Namespace Reference

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

Functions

void start ()
 Start the deep_copy counter.
void reset ()
 Reset the deep_copy counter.
void stop ()
 Stop 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_different_space ()
 Query the deep_copy counter for copies between different spaces.

Detailed Description

Counter for Kokkos::deep_copy calls.

Function Documentation

◆ start()

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

Start the deep_copy counter.

Definition at line 45 of file Tpetra_Details_KokkosCounter.cpp.

◆ reset()

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

Reset the deep_copy counter.

Definition at line 50 of file Tpetra_Details_KokkosCounter.cpp.

◆ stop()

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

Stop the deep_copy counter.

Definition at line 55 of file Tpetra_Details_KokkosCounter.cpp.

◆ get_count_same_space()

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.

◆ get_count_different_space()

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.