Gromacs  2020.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Variables
gpuregiontimer.h File Reference
#include <string>
#include "gromacs/utility/gmxassert.h"
+ Include dependency graph for gpuregiontimer.h:
+ This graph shows which files directly or indirectly include this file:


Defines the GPU region timer implementation/wrapper classes. The implementations live in gpuregiontimer.cuh for CUDA and gpuregiontimer_ocl.h for OpenCL.

Aleksei Iupinov


class  GpuRegionTimerWrapper< GpuRegionTimerImpl >
 This is a GPU region timing wrapper class. It allows for host-side tracking of the accumulated execution timespans in GPU code (measuring kernel or transfers duration). It also partially tracks the correctness of the timer state transitions, as far as current implementation allows (see TODO in getLastRangeTime() for a disabled check). Internally it uses GpuRegionTimerImpl for measuring regions. More...


static const bool c_debugTimerState = true
 Debug GPU timers in debug builds only.