Skip to content

Commit

Permalink
kp_sampler_skip.cpp: make SpaceHandle a struct
Browse files Browse the repository at this point in the history
  • Loading branch information
vlkale authored Jan 13, 2024
1 parent 0ec36ce commit e7fcc5e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions common/kokkos-sampler/kp_sampler_skip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@
#include "../../profiling/all/kp_core.hpp"
#include "kp_config.hpp"

using Kokkos::Tools::SpaceHandle;

// using Kokkos::Tools::SpaceHandle;
struct SpaceHandle
{
char name[64];
}

namespace KokkosTools {
namespace Sampler {
Expand Down Expand Up @@ -364,7 +367,6 @@ EXPOSE_END_PARALLEL_SCAN(impl::kokkosp_end_parallel_scan)
EXPOSE_BEGIN_PARALLEL_REDUCE(impl::kokkosp_begin_parallel_reduce)
EXPOSE_END_PARALLEL_REDUCE(impl::kokkosp_end_parallel_reduce)
EXPOSE_BEGIN_DEEP_COPY(impl::kokkosp_begin_deep_copy)
EXPOSE_END_DEEP_COPY(impl::kokkosp_end_deep_copy)


} // end extern "C"

0 comments on commit e7fcc5e

Please sign in to comment.