Gromacs  2020.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
pme_gpu_timings.h File Reference
#include "config.h"
#include "gromacs/gpu_utils/gputraits.cuh"
+ Include dependency graph for pme_gpu_timings.h:
+ This graph shows which files directly or indirectly include this file:

Description

Defines PME GPU timing functions.

Author
Aleksei Iupinov a.yup.nosp@m.inov.nosp@m.@gmai.nosp@m.l.co.nosp@m.m

Functions

void pme_gpu_start_timing (const PmeGpu *pmeGpu, size_t PMEStageId)
 Starts timing the certain PME GPU stage during a single computation (if timings are enabled). More...
 
CommandEventpme_gpu_fetch_timing_event (const PmeGpu *pmeGpu, size_t PMEStageId)
 Returns raw timing event from the corresponding GpuRegionTimer (if timings are enabled). In CUDA result can be nullptr stub, per GpuRegionTimer implementation. More...
 
void pme_gpu_stop_timing (const PmeGpu *pmeGpu, size_t PMEStageId)
 Stops timing the certain PME GPU stage during a single computation (if timings are enabled). More...
 

Function Documentation

CommandEvent* pme_gpu_fetch_timing_event ( const PmeGpu pmeGpu,
size_t  PMEStageId 
)

Returns raw timing event from the corresponding GpuRegionTimer (if timings are enabled). In CUDA result can be nullptr stub, per GpuRegionTimer implementation.

Parameters
[in]pmeGpuThe PME GPU data structure.
[in]PMEStageIdThe PME GPU stage gtPME_ index from the enum in src/gromacs/timing/gpu_timing.h
void pme_gpu_start_timing ( const PmeGpu pmeGpu,
size_t  PMEStageId 
)

Starts timing the certain PME GPU stage during a single computation (if timings are enabled).

Parameters
[in]pmeGpuThe PME GPU data structure.
[in]PMEStageIdThe PME GPU stage gtPME_ index from the enum in src/gromacs/timing/gpu_timing.h
void pme_gpu_stop_timing ( const PmeGpu pmeGpu,
size_t  PMEStageId 
)

Stops timing the certain PME GPU stage during a single computation (if timings are enabled).

Parameters
[in]pmeGpuThe PME GPU data structure.
[in]PMEStageIdThe PME GPU stage gtPME_ index from the enum in src/gromacs/timing/gpu_timing.h