Skip to content

Commit

Permalink
KernelFilter: apply clang format
Browse files Browse the repository at this point in the history
  • Loading branch information
vlkale committed Aug 24, 2023
1 parent f86d34c commit e402f48
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions common/kernel-filter/kp_kernel_filter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ extern "C" void kokkosp_init_library(const int loadSeq,

if (filterKernels) {
char* profileLibrary = getenv("KOKKOS_TOOLS_LIBS");
if (NULL == profileLibrary) { // check for backward compatibility with old environment variable
if (NULL == profileLibrary) { // check for backward compatibility with
// old environment variable
printf(
"Checking KOKKOS_PROFILE_LIBRARY. WARNING: This is a deprecated "
"variable. Please use KOKKOS_TOOLS_LIBS.\n");
Expand All @@ -136,7 +137,7 @@ extern "C" void kokkosp_init_library(const int loadSeq,
printf("KokkosP: No library to call in %s\n", profileLibrary);
exit(-1);
}
} // end check for backward compatability
} // end check for backward compatability

char* envBuffer =
(char*)malloc(sizeof(char) * (strlen(profileLibrary) + 1));
Expand Down Expand Up @@ -193,7 +194,7 @@ extern "C" void kokkosp_init_library(const int loadSeq,

printf("============================================================\n");
}
} // end kokkosp_init_library
} // end kokkosp_init_library

extern "C" void kokkosp_finalize_library() {
if (NULL != finalizeProfileLibrary) {
Expand Down

0 comments on commit e402f48

Please sign in to comment.