From dfd4635f914fcfd8219f7d9cbd0e423f43f68ce0 Mon Sep 17 00:00:00 2001 From: Saleel Kudchadker Date: Thu, 21 Dec 2023 19:24:43 +0000 Subject: [PATCH] SWDEV-422207 - Tag captured kernel names for graphs Change-Id: I9540daa4abf9c340541a681037e2dca4eec821ed --- rocclr/platform/command.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rocclr/platform/command.hpp b/rocclr/platform/command.hpp index 3fda3eee69..854be3f2b6 100644 --- a/rocclr/platform/command.hpp +++ b/rocclr/platform/command.hpp @@ -1273,7 +1273,8 @@ class AccumulateCommand : public Command { //! Add kernel name to the list if available void addKernelName(const std::string& kernelName) { if (activity_prof::IsEnabled(OP_ID_DISPATCH)) { - kernelNames_.push_back(kernelName); + // "^" is to indicate kernel is captured at instantiate + kernelNames_.push_back("^ " + kernelName); } }