diff --git a/src/services/kokkos/KokkosProfilingSymbols.cpp b/src/services/kokkos/KokkosProfilingSymbols.cpp index 41652091e..7c2b6aec3 100644 --- a/src/services/kokkos/KokkosProfilingSymbols.cpp +++ b/src/services/kokkos/KokkosProfilingSymbols.cpp @@ -66,3 +66,8 @@ extern "C" void kokkosp_begin_deep_copy(const SpaceHandle dst_handle, const char extern "C" void kokkosp_end_deep_copy() { kokkosp_callbacks.kokkosp_end_deep_copy_callback(); } +#ifndef CALIPER_HAVE_ADIAK +extern "C" void kokkosp_declare_metadata(const char* key, const char* value) { + cali::Annotation(key,CALI_ATTR_GLOBAL).set(value); +} +#endif