forked from AMReX-Codes/amrex
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sync GPU stream before getting the time in TinyProfiler (AMReX-Codes#…
…3763) In AMReX-Codes#1505 `tiny_profiler.device_synchronize_around_region = 1` was added to better measure timings on GPU using nvtx, however this would also be useful for the timings in TinyProfiler itself. Currently codes have to custom-add these syncs to get meaningful output from TinyProfiler on GPU https://github.com/Hi-PACE/hipace/blob/development/src/utils/HipaceProfilerWrapper.H
- Loading branch information
1 parent
1b66aa3
commit 8b476a9
Showing
1 changed file
with
20 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters