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]
这个提交包含在:
habajpai-amd和David Galiffi 编写, GitHub 于 2025-07-16 11:23:50 -04:00 提交
1 父节点 5a767cf272
当前提交 7eb189db84
1 个文件已更改
+1 -2
@@ -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