From 2a2abbd4c72e41bf63786dfdf539629042362745 Mon Sep 17 00:00:00 2001 From: Vivek Kale <11766050+vlkale@users.noreply.github.com> Date: Fri, 12 Jan 2024 16:51:28 -0800 Subject: [PATCH] Update kp_sampler_skip.cpp: add space handle --- common/kokkos-sampler/kp_sampler_skip.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common/kokkos-sampler/kp_sampler_skip.cpp b/common/kokkos-sampler/kp_sampler_skip.cpp index b27f3adfd..535456b6f 100644 --- a/common/kokkos-sampler/kp_sampler_skip.cpp +++ b/common/kokkos-sampler/kp_sampler_skip.cpp @@ -7,6 +7,9 @@ #include "../../profiling/all/kp_core.hpp" #include "kp_config.hpp" +struct SpaceHandle { +char* name[64]; +} namespace KokkosTools { namespace Sampler { static uint64_t uniqID = 0; @@ -325,8 +328,7 @@ void kokkosp_begin_deep_copy(SpaceHandle dst_handle, ++invocationNum; if ((invocationNum % kernelSampleSkip) == 0) { if (tool_verbosity > 0) { - printf("KokkosP: sample %llu calling child-begin function...\n", - (unsigned long long)(*kID)); + printf("KokkosP: sample calling child-begin deep_copy function...\n"); } if (NULL != beginDeepCopyCallee) { if (tool_globFence) {