petsc-3.14.6 2021-03-30
Report Typos and Errors

PetscLogGpuTimeBegin

Start timer for device

Synopsis

PETSC_STATIC_INLINE PetscErrorCode PetscLogGpuTimeBegin()

Notes

The timer is run on the CPU, it is just logged separately as time devoted to GPU computations (including kernel launch times). It is used to compute the flop rate on the GPU.

See Also

PetscLogView(), PetscLogGpuFlops(), PetscLogGpuTimeEnd()

Level

intermediate

Location

src/sys/logging/../../../include/petsclog.h
Index of all Profiling routines
Table of Contents for all manual pages
Index of all manual pages