Add missing <cstring> include for C string functions in RCCL tests (#282)

* Fix: Add missing <string.h> include for C string functions in RCCL tests

* Update examples/rccl/rccl-tests/src/common.h

Yes, confirmed—<cstring> alone works in my environment. Updated the PR

Co-authored-by: David Galiffi <David.Galiffi@amd.com>

* clang-format

---------

Co-authored-by: David Galiffi <David.Galiffi@amd.com>

[ROCm/rocprofiler-systems commit: 0ec3072e05]
This commit is contained in:
habajpai-amd
2025-07-16 20:53:50 +05:30
committed by GitHub
parent 5a767cf272
commit 7eb189db84
@@ -17,11 +17,10 @@
#endif
#include "nccl1_compat.h"
#include "timer.h"
#include <cstring>
#include <fstream>
#include <iostream>
#include <pthread.h>
#include <string>
// 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