Skip to content

Commit

Permalink
kp_sampler_skip.cpp: make function pointer correct
Browse files Browse the repository at this point in the history
  • Loading branch information
vlkale authored May 2, 2024
1 parent 6f9cd82 commit 39db70d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/kokkos-sampler/kp_sampler_skip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down Expand Up @@ -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"
} // end extern "C"

0 comments on commit 39db70d

Please sign in to comment.