Skip to content

Commit

Permalink
Rename Kokkos functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikołaj Zuzek committed Feb 21, 2022
1 parent d1f64f6 commit e800de0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/services/kokkos/KokkosProfilingSymbols.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ __attribute__((weak)) void kokkosp_end_deep_copy() {
}
}
namespace cali {
void set_cali_config(const char* config_str) {
void set_kokkos_cali_config(const char* config_str) {
if (config_str == nullptr or strlen(config_str) <= 0)
return;
if (::kokkos::mgr.add(config_str))
Expand All @@ -211,8 +211,9 @@ namespace cali {
}
}

extern Kokkos::Tools::Experimental::EventSet get_event_set(const char* config_str = nullptr) {
set_cali_config(config_str);
extern Kokkos::Tools::Experimental::EventSet get_kokkos_event_set(
const char* config_str = nullptr) {
set_kokkos_cali_config(config_str);
Kokkos::Tools::Experimental::EventSet my_event_set;
memset(&my_event_set, 0, sizeof(my_event_set)); // zero any pointers not set here
my_event_set.init = cali::kokkosp_init_library;
Expand Down

0 comments on commit e800de0

Please sign in to comment.