From 6f73586376c70f1bda9946296c76f7b0f89fd9e7 Mon Sep 17 00:00:00 2001 From: gilbertlee-amd <44450918+gilbertlee-amd@users.noreply.github.com> Date: Mon, 1 Jun 2026 19:14:59 -0400 Subject: [PATCH 1/2] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- src/client/Utilities.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/Utilities.hpp b/src/client/Utilities.hpp index bc110b4e..18c62c09 100644 --- a/src/client/Utilities.hpp +++ b/src/client/Utilities.hpp @@ -23,6 +23,7 @@ THE SOFTWARE. #pragma once #include #include +#include #include #include #include From 6943b680342f0298cd082850ece205281e12189c Mon Sep 17 00:00:00 2001 From: gilbertlee-amd <44450918+gilbertlee-amd@users.noreply.github.com> Date: Mon, 1 Jun 2026 19:15:18 -0400 Subject: [PATCH 2/2] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- src/client/Utilities.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client/Utilities.hpp b/src/client/Utilities.hpp index 18c62c09..9730ace6 100644 --- a/src/client/Utilities.hpp +++ b/src/client/Utilities.hpp @@ -488,12 +488,12 @@ namespace TransferBench::Utils } } - // Macro for use in presets that will return 1 if a value is not uniform across ranks + // Macro for use in presets that will return ERR_FATAL if a value is not uniform across ranks #define IS_UNIFORM(val, name) \ do { \ if (!Utils::IsUniform(val)) { \ - Utils::Print("[ERROR] %s must be uniform across all ranks\n", name); \ - return 1; \ + Utils::Print("[ERROR] %s must be uniform across all ranks\n", name); \ + return ERR_FATAL; \ } \ } while(0)