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

Counter for Kokkos::fence calls. More...

Functions

void start ()
 Start the fence counter. More...
 
void reset ()
 Reset the fence counter. More...
 
void stop ()
 Stop the fence counter. More...
 
size_t get_count_instance (const std::string &device)
 Query the fence counter for given device, for an exec_space_instance.fence() More...
 
size_t get_count_global (const std::string &device)
 Query the fence counter for given device, for an Kokkos::fence() More...
 

Detailed Description

Counter for Kokkos::fence calls.

Function Documentation

void Tpetra::Details::FenceCounter::start ( )

Start the fence counter.

Definition at line 136 of file Tpetra_Details_KokkosCounter.cpp.

void Tpetra::Details::FenceCounter::reset ( )

Reset the fence counter.

Definition at line 143 of file Tpetra_Details_KokkosCounter.cpp.

void Tpetra::Details::FenceCounter::stop ( )

Stop the fence counter.

Definition at line 148 of file Tpetra_Details_KokkosCounter.cpp.

size_t Tpetra::Details::FenceCounter::get_count_instance ( const std::string &  device)

Query the fence counter for given device, for an exec_space_instance.fence()

Definition at line 166 of file Tpetra_Details_KokkosCounter.cpp.

size_t Tpetra::Details::FenceCounter::get_count_global ( const std::string &  device)

Query the fence counter for given device, for an Kokkos::fence()

Definition at line 152 of file Tpetra_Details_KokkosCounter.cpp.