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 c80d7cf commit eec50b5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions common/kokkos-sampler/kp_sampler_skip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,16 @@
#include "../../profiling/all/kp_core.hpp"
#include "kp_config.hpp"

using Kokkos::Tools::SpaceHandle;


namespace KokkosTools {
namespace Sampler {
static uint64_t uniqID = 0;
static uint64_t kernelSampleSkip = 101;
static int tool_verbosity = 0;
static int tool_globFence = 0;

struct SpaceHandle {
char name[64];
}

// a hash table mapping kID to nestedkID
static std::unordered_map<uint64_t, uint64_t> infokIDSample;

Expand Down

0 comments on commit eec50b5

Please sign in to comment.