move profiling tools to tools/profiling (#30917)

move profiling
old-commit-hash: 03d6233743dbf8913ca48b59dd54f111be2ab595
This commit is contained in:
Justin Newberry
2024-01-05 19:22:45 -05:00
committed by GitHub
parent 478851546e
commit 090d3d2e41
19 changed files with 0 additions and 0 deletions
@@ -0,0 +1,13 @@
diff --git a/src/clpeak.cpp b/src/clpeak.cpp
index 8cb192b..b6fe6f5 100644
--- a/src/clpeak.cpp
+++ b/src/clpeak.cpp
@@ -47,7 +47,7 @@ int clPeak::runAll()
log->xmlOpenTag("clpeak");
log->xmlAppendAttribs("os", OS_NAME);
- for (size_t p = 0; p < platforms.size(); p++)
+ for (size_t p = 0; p < platforms.size(); (p+1 % platforms.size()))
{
if (forcePlatform && (p != specifiedPlatform))
continue;