SIRIUS 7.5.0
Electronic structure library and applications
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
sirius::CUDA_timer Class Reference

Public Member Functions

 CUDA_timer (std::string const &label__)
 

Static Public Member Functions

static CUDA_timers_wrappercuda_timers_wrapper ()
 

Private Member Functions

void start ()
 
void stop ()
 

Private Attributes

cudaEvent_t e_start_
 
cudaEvent_t e_stop_
 
bool active_
 
std::string label_
 

Detailed Description

Definition at line 79 of file cuda_timer.hpp.

Constructor & Destructor Documentation

◆ CUDA_timer()

sirius::CUDA_timer::CUDA_timer ( std::string const &  label__)
inline

Definition at line 109 of file cuda_timer.hpp.

◆ ~CUDA_timer()

sirius::CUDA_timer::~CUDA_timer ( )
inline

Definition at line 114 of file cuda_timer.hpp.

Member Function Documentation

◆ start()

void sirius::CUDA_timer::start ( )
inlineprivate

Definition at line 88 of file cuda_timer.hpp.

◆ stop()

void sirius::CUDA_timer::stop ( )
inlineprivate

Definition at line 95 of file cuda_timer.hpp.

◆ cuda_timers_wrapper()

static CUDA_timers_wrapper & sirius::CUDA_timer::cuda_timers_wrapper ( )
inlinestatic

Definition at line 119 of file cuda_timer.hpp.

Member Data Documentation

◆ e_start_

cudaEvent_t sirius::CUDA_timer::e_start_
private

Definition at line 83 of file cuda_timer.hpp.

◆ e_stop_

cudaEvent_t sirius::CUDA_timer::e_stop_
private

Definition at line 84 of file cuda_timer.hpp.

◆ active_

bool sirius::CUDA_timer::active_
private

Definition at line 85 of file cuda_timer.hpp.

◆ label_

std::string sirius::CUDA_timer::label_
private

Definition at line 86 of file cuda_timer.hpp.


The documentation for this class was generated from the following file: