Skip to content

Commit

Permalink
Update kp_sampler_skip.cpp: add space handle
Browse files Browse the repository at this point in the history
  • Loading branch information
vlkale authored Jan 13, 2024
1 parent ca53533 commit 2a2abbd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions common/kokkos-sampler/kp_sampler_skip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 2a2abbd

Please sign in to comment.