Skip to content

Commit

Permalink
kp_memory_usage.cpp: apply clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
vlkale committed Sep 19, 2024
1 parent aa53d19 commit 041f3f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions profiling/memory-usage/kp_memory_usage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ void kokkosp_finalize_library() {

fprintf(ofile,
"--- Data transferred between Kokkos Memory Spaces (MB) --- \n");
for (unsigned int dst = 0; dst < (unsigned int) num_spaces; dst++) {
for (unsigned int src = 0; src < (unsigned int) num_spaces; src++) {
for (unsigned int dst = 0; dst < (unsigned int)num_spaces; dst++) {
for (unsigned int src = 0; src < (unsigned int)num_spaces; src++) {
fprintf(ofile, "%s %s %.1lf \n", space_name[dst], space_name[src],
1.0 * totalMemoryTransferred[dst][src] / 1024 / 1024);
}
Expand Down

0 comments on commit 041f3f0

Please sign in to comment.