From 84fdcab68a85e6fa53b70899018727e14e9734e5 Mon Sep 17 00:00:00 2001 From: Arm Patinyasakdikul Date: Thu, 30 Oct 2025 11:33:20 -0700 Subject: [PATCH] Added copyrights for Palamida scan 7.2. (#2018) --- .github/scripts/therock_configure_ci.py | 3 +++ src/device/symmetric/all_gather.cuh | 3 +++ src/device/symmetric/generate.py | 3 +++ src/device/symmetric/kernel.cuh | 3 +++ src/device/symmetric/primitives.cuh | 3 +++ src/device/symmetric/reduce_scatter.cuh | 3 +++ src/include/mlx5/mlx5dvcore.h | 3 +++ src/include/mlx5/mlx5dvsymbols.h | 3 +++ src/include/register_inline.h | 3 +++ src/include/symmetric.h | 3 +++ src/misc/mlx5dvsymbols.cc | 3 +++ src/symmetric.cc | 3 +++ test/ParamTests.cpp | 5 ++++- 13 files changed, 40 insertions(+), 1 deletion(-) diff --git a/.github/scripts/therock_configure_ci.py b/.github/scripts/therock_configure_ci.py index 2afff17f95..ee1617991a 100644 --- a/.github/scripts/therock_configure_ci.py +++ b/.github/scripts/therock_configure_ci.py @@ -1,3 +1,6 @@ +# Copyright (c) Advanced Micro Devices, Inc., or its affiliates. +# SPDX-License-Identifier: MIT + import fnmatch import json import os diff --git a/src/device/symmetric/all_gather.cuh b/src/device/symmetric/all_gather.cuh index a6ae89b432..3fb75ddc6c 100644 --- a/src/device/symmetric/all_gather.cuh +++ b/src/device/symmetric/all_gather.cuh @@ -1,3 +1,6 @@ +// Modification Copyright (c) Advanced Micro Devices, Inc., or its affiliates. +// SPDX-License-Identifier: MIT + #include "symmetric.h" #include "symmetric/kernel.h" #include "symmetric/primitives.h" diff --git a/src/device/symmetric/generate.py b/src/device/symmetric/generate.py index 1276530b9c..2f79eae4bb 100755 --- a/src/device/symmetric/generate.py +++ b/src/device/symmetric/generate.py @@ -1,3 +1,6 @@ +# Modification Copyright (c) Advanced Micro Devices, Inc., or its affiliates. +# SPDX-License-Identifier: MIT + #!/usr/bin/env python3 import os import sys diff --git a/src/device/symmetric/kernel.cuh b/src/device/symmetric/kernel.cuh index f631d51d9f..0e4cfe516f 100644 --- a/src/device/symmetric/kernel.cuh +++ b/src/device/symmetric/kernel.cuh @@ -1,3 +1,6 @@ +// Modification Copyright (c) Advanced Micro Devices, Inc., or its affiliates. +// SPDX-License-Identifier: MIT + #ifndef NCCL_DEVICE_SYMMETRIC_KERNEL_H_ #define NCCL_DEVICE_SYMMETRIC_KERNEL_H_ diff --git a/src/device/symmetric/primitives.cuh b/src/device/symmetric/primitives.cuh index 4fe2fde445..bc5ab82c7a 100644 --- a/src/device/symmetric/primitives.cuh +++ b/src/device/symmetric/primitives.cuh @@ -1,3 +1,6 @@ +// Modification Copyright (c) Advanced Micro Devices, Inc., or its affiliates. +// SPDX-License-Identifier: MIT + #ifndef NCCL_DEVICE_SYMMETRIC_PRIMITIVES_H_ #define NCCL_DEVICE_SYMMETRIC_PRIMITIVES_H_ diff --git a/src/device/symmetric/reduce_scatter.cuh b/src/device/symmetric/reduce_scatter.cuh index 3f11c0c2da..4f60f4e81e 100644 --- a/src/device/symmetric/reduce_scatter.cuh +++ b/src/device/symmetric/reduce_scatter.cuh @@ -1,3 +1,6 @@ +// Modification Copyright (c) Advanced Micro Devices, Inc., or its affiliates. +// SPDX-License-Identifier: MIT + #include "symmetric.h" #include "symmetric/kernel.h" #include "symmetric/primitives.h" diff --git a/src/include/mlx5/mlx5dvcore.h b/src/include/mlx5/mlx5dvcore.h index 9ec40c0391..f380dcf042 100644 --- a/src/include/mlx5/mlx5dvcore.h +++ b/src/include/mlx5/mlx5dvcore.h @@ -1,3 +1,6 @@ +// Modification Copyright (c) Advanced Micro Devices, Inc., or its affiliates. +// SPDX-License-Identifier: MIT + #ifndef NCCL_MLX5DV_CORE_H_ #define NCCL_MLX5DV_CORE_H_ diff --git a/src/include/mlx5/mlx5dvsymbols.h b/src/include/mlx5/mlx5dvsymbols.h index fb08368e75..d42a96e4b6 100644 --- a/src/include/mlx5/mlx5dvsymbols.h +++ b/src/include/mlx5/mlx5dvsymbols.h @@ -1,3 +1,6 @@ +// Modification Copyright (c) Advanced Micro Devices, Inc., or its affiliates. +// SPDX-License-Identifier: MIT + #ifndef NCCL_MLX5DV_SYMBOLS_H_ #define NCCL_MLX5DV_SYMBOLS_H_ diff --git a/src/include/register_inline.h b/src/include/register_inline.h index fb7641b131..11dd80d315 100644 --- a/src/include/register_inline.h +++ b/src/include/register_inline.h @@ -1,3 +1,6 @@ +// Modification Copyright (c) Advanced Micro Devices, Inc., or its affiliates. +// SPDX-License-Identifier: MIT + #ifndef NCCL_REGISTER_INLINE_H_ #define NCCL_REGISTER_INLINE_H_ diff --git a/src/include/symmetric.h b/src/include/symmetric.h index 7a189bcca6..1c289ae7ae 100644 --- a/src/include/symmetric.h +++ b/src/include/symmetric.h @@ -1,3 +1,6 @@ +// Modification Copyright (c) Advanced Micro Devices, Inc., or its affiliates. +// SPDX-License-Identifier: MIT + #ifndef NCCL_DEVICE_SYMMETRIC_H_ #define NCCL_DEVICE_SYMMETRIC_H_ diff --git a/src/misc/mlx5dvsymbols.cc b/src/misc/mlx5dvsymbols.cc index 47cc4eb0d6..76ba256263 100644 --- a/src/misc/mlx5dvsymbols.cc +++ b/src/misc/mlx5dvsymbols.cc @@ -1,3 +1,6 @@ +// Modification Copyright (c) Advanced Micro Devices, Inc., or its affiliates. +// SPDX-License-Identifier: MIT + #include #include diff --git a/src/symmetric.cc b/src/symmetric.cc index 95d782dd52..3b6a3239e6 100644 --- a/src/symmetric.cc +++ b/src/symmetric.cc @@ -1,3 +1,6 @@ +// Modification Copyright (c) Advanced Micro Devices, Inc., or its affiliates. +// SPDX-License-Identifier: MIT + #include "symmetric.h" #include "comm.h" #include "device.h" diff --git a/test/ParamTests.cpp b/test/ParamTests.cpp index 201d0db9b3..77ed324eb6 100644 --- a/test/ParamTests.cpp +++ b/test/ParamTests.cpp @@ -1,3 +1,6 @@ +// Modification Copyright (c) Advanced Micro Devices, Inc., or its affiliates. +// SPDX-License-Identifier: MIT + #include "param.h" #include #include @@ -38,4 +41,4 @@ TEST(ParamTests, ncclLoadParam_InvalidParam) { EXPECT_EQ(cache, defaultVal); // Cache should be set to default value } -} // namespace RcclUnitTesting \ No newline at end of file +} // namespace RcclUnitTesting