[llvm] [OpenMP][offload] Add LIBOMPTARGET_KERNEL_EXE_TIME (PR #222105)
Alex Duran via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 8 12:48:29 PDT 2026
================
@@ -1446,6 +1459,14 @@ struct GenericDeviceTy : public DeviceAllocatorTy {
BoolEnvar OMPX_ReuseBlocksForHighTripCount =
BoolEnvar("LIBOMPTARGET_REUSE_BLOCKS_FOR_HIGH_TRIP_COUNT", true);
+ /// Environment variable to trace the duration of every kernel launch.
+ BoolEnvar OMPX_KernelDurationTracing =
----------------
adurang wrote:
Can we try not to add more OMPX things to the PluginInterface?
Also, this seems specific to the AMD plugin so the variable can live there easily.
https://github.com/llvm/llvm-project/pull/222105
More information about the llvm-commits
mailing list