From 39db70df7ea50b90a11a925932941146b216e3a2 Mon Sep 17 00:00:00 2001 From: Vivek Kale <11766050+vlkale@users.noreply.github.com> Date: Thu, 2 May 2024 10:54:47 -0700 Subject: [PATCH] kp_sampler_skip.cpp: make function pointer correct --- common/kokkos-sampler/kp_sampler_skip.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/kokkos-sampler/kp_sampler_skip.cpp b/common/kokkos-sampler/kp_sampler_skip.cpp index ff3cc291b..ce0cb4a9d 100644 --- a/common/kokkos-sampler/kp_sampler_skip.cpp +++ b/common/kokkos-sampler/kp_sampler_skip.cpp @@ -58,7 +58,7 @@ void invoke_ktools_fence(uint32_t devID) { "on device " << getDeviceID(devID) << '\n'; } - (*(tpi_funcs.fence))(devID); + (tpi_funcs.fence)(devID); if (tool_verbosity > 1) { std::cout << "KokkosP: Sampler sucessfully invoked tool-induced fence on " "device " @@ -418,4 +418,4 @@ 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) -} // end extern "C" \ No newline at end of file +} // end extern "C"