From 7eb189db843396c693644f33c9077ac23466e1d8 Mon Sep 17 00:00:00 2001 From: habajpai-amd Date: Wed, 16 Jul 2025 20:53:50 +0530 Subject: [PATCH] Add missing include for C string functions in RCCL tests (#282) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix: Add missing include for C string functions in RCCL tests * Update examples/rccl/rccl-tests/src/common.h Yes, confirmed— alone works in my environment. Updated the PR Co-authored-by: David Galiffi * clang-format --------- Co-authored-by: David Galiffi [ROCm/rocprofiler-systems commit: 0ec3072e052497a3c63999b5a36687a5d8127ef8] --- .../rocprofiler-systems/examples/rccl/rccl-tests/src/common.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/projects/rocprofiler-systems/examples/rccl/rccl-tests/src/common.h b/projects/rocprofiler-systems/examples/rccl/rccl-tests/src/common.h index d82d2d0da6..2194e4e7af 100644 --- a/projects/rocprofiler-systems/examples/rccl/rccl-tests/src/common.h +++ b/projects/rocprofiler-systems/examples/rccl/rccl-tests/src/common.h @@ -17,11 +17,10 @@ #endif #include "nccl1_compat.h" #include "timer.h" +#include #include #include #include -#include - // Ensures backward compatibility for FP8 types in RCCL 2.24.3 and later #if NCCL_VERSION_CODE >= NCCL_VERSION(2, 24, 3) # define ncclFp8E4M3 ncclFloat8e4m3