Skip to content

Commit

Permalink
KernelFilter: applied clang format
Browse files Browse the repository at this point in the history
  • Loading branch information
Vivek Kale committed Aug 24, 2023
1 parent d318ac8 commit 57d23a6
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions common/kernel-filter/kp_kernel_filter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,16 @@ extern "C" void kokkosp_init_library(const int loadSeq,
if (NULL == profileLibrary) {
printf("KokkosP: No library to call in %s\n", profileLibrary);
exit(-1);
}
else {
printf("KokkosP: Found that KOKKOS_PROFILE_LIBRARY is set and it will be used.\n");
printf("KokkosP: Note that KOKKOS_PROFILE_LIBRARY is a deprecated variable. "
"Please use KOKKOS_TOOLS_LIBS in the future.\n");
} // end note for KOKKOS_PROFILE_LIBRARY
} // end check for backward compatability
} else {
printf(
"KokkosP: Found that KOKKOS_PROFILE_LIBRARY is set and it will "
"be used.\n");
printf(
"KokkosP: Note that KOKKOS_PROFILE_LIBRARY is a deprecated "
"variable. "
"Please use KOKKOS_TOOLS_LIBS in the future.\n");
} // end note for KOKKOS_PROFILE_LIBRARY
} // end check for backward compatability

char* envBuffer =
(char*)malloc(sizeof(char) * (strlen(profileLibrary) + 1));
Expand Down

0 comments on commit 57d23a6

Please sign in to comment.