diff --git a/common/kokkos-sampler/kp_sampler_skip.cpp b/common/kokkos-sampler/kp_sampler_skip.cpp index d56ed84ca..81401ff31 100644 --- a/common/kokkos-sampler/kp_sampler_skip.cpp +++ b/common/kokkos-sampler/kp_sampler_skip.cpp @@ -64,14 +64,14 @@ void invoke_ktools_fence(uint32_t devID) { } void kokkosp_provide_tool_programming_interface( - uint32_t num_funcs, Kokkos_Tools_ToolProgrammingInterface* funcsFromTPI) { + uint32_t num_funcs, Kokkos_Tools_ToolProgrammingInterface funcsFromTPI) { if (!num_funcs) { if (tool_verbosity > 0) printf( "KokkosP: Note: Number of functions in Tools Programming Interface " "is 0!\n"); } - tpi_funcs = *funcsFromTPI; + tpi_funcs = funcsFromTPI; } void kokkosp_init_library(const int loadSeq, const uint64_t interfaceVer, diff --git a/profiling/all/kp_core.hpp b/profiling/all/kp_core.hpp index c63db1863..cc51bc3d9 100644 --- a/profiling/all/kp_core.hpp +++ b/profiling/all/kp_core.hpp @@ -55,7 +55,7 @@ using Kokkos::Tools::SpaceHandle; #define EXPOSE_PROVIDE_TOOL_PROGRAMMING_INTERFACE(FUNC_NAME) \ __attribute__((weak)) void kokkosp_provide_tool_programming_interface( \ const uint32_t num_actions, \ - Kokkos_Tools_ToolProgrammingInterface* ptpi) { \ + Kokkos_Tools_ToolProgrammingInterface ptpi) { \ FUNC_NAME(num_actions, ptpi); \ }