From 041f3f0e3d0ba21f8320cb835e7978a4be2b770f Mon Sep 17 00:00:00 2001 From: Vivek Kale Date: Thu, 19 Sep 2024 13:54:47 -0700 Subject: [PATCH] kp_memory_usage.cpp: apply clang-format --- profiling/memory-usage/kp_memory_usage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/profiling/memory-usage/kp_memory_usage.cpp b/profiling/memory-usage/kp_memory_usage.cpp index 4e2d6979e..26cd714ae 100644 --- a/profiling/memory-usage/kp_memory_usage.cpp +++ b/profiling/memory-usage/kp_memory_usage.cpp @@ -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); }