[all-commits] [llvm/llvm-project] 657902: [OpenMP] Fix Slice Duplicate in Profiler
Aaron Jarmusch via All-commits
all-commits at lists.llvm.org
Thu Aug 24 12:43:30 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6579021f02aed021d8cfab808072aa50311e6d12
https://github.com/llvm/llvm-project/commit/6579021f02aed021d8cfab808072aa50311e6d12
Author: Aaron Jarmusch <jarmusch at udel.edu>
Date: 2023-08-24 (Thu, 24 Aug 2023)
Changed paths:
M openmp/libomptarget/src/interface.cpp
M openmp/libomptarget/src/omptarget.cpp
M openmp/libomptarget/src/private.h
Log Message:
-----------
[OpenMP] Fix Slice Duplicate in Profiler
Using LIBOMPTARGET_PROFILER, duplicates are created from timing both Kernel functions and Data update functions.
I commented out the duplicate timescope and left them in the targetkernel and the targetdataupdate functions. This
way the timescope calls will be closer to the launching of the kernel and the data moving.
Reviewed By: jdoerfert, tianshilei1992
Differential Revision: https://reviews.llvm.org/D157725
More information about the All-commits
mailing list