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

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

Functions

void start ()
 Start the fence counter.
 
void reset ()
 Reset the fence 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()
 
size_t get_count_global (const std::string &device)
 Query the fence counter for given device, for an Kokkos::fence()
 

Detailed Description

Counter for Kokkos::fence calls.

Function Documentation

◆ start()

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

Start the fence counter.

Definition at line 129 of file Tpetra_Details_KokkosCounter.cpp.

◆ reset()

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

Reset the fence counter.

Definition at line 136 of file Tpetra_Details_KokkosCounter.cpp.

◆ stop()

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

Stop the fence counter.

Definition at line 141 of file Tpetra_Details_KokkosCounter.cpp.

◆ get_count_instance()

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

◆ get_count_global()

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