diff --git a/CMakeLists.txt b/CMakeLists.txt index cbca9e9f..fbf7b708 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT license. + cmake_minimum_required(VERSION 3.26) project(mscclpp LANGUAGES CUDA CXX) set(CMAKE_CXX_STANDARD 17) diff --git a/SUPPORT.md b/SUPPORT.md index 291d4d43..0914be4e 100644 --- a/SUPPORT.md +++ b/SUPPORT.md @@ -1,13 +1,3 @@ -# TODO: The maintainer of this repo has not yet edited this file - -**REPO OWNER**: Do you want Customer Service & Support (CSS) support for this product/project? - -- **No CSS support:** Fill out this template with information about how to file issues and get help. -- **Yes CSS support:** Fill out an intake form at [aka.ms/onboardsupport](https://aka.ms/onboardsupport). CSS will work with/help you to determine next steps. -- **Not sure?** Fill out an intake as though the answer were "Yes". CSS will help you decide. - -*Then remove this first heading from this SUPPORT.MD file before publishing your repo.* - # Support ## How to file issues and get help @@ -16,10 +6,8 @@ This project uses GitHub Issues to track bugs and feature requests. Please searc issues before filing new issues to avoid duplicates. For new issues, file your bug or feature request as a new Issue. -For help and questions about using this project, please **REPO MAINTAINER: INSERT INSTRUCTIONS HERE -FOR HOW TO ENGAGE REPO OWNERS OR COMMUNITY FOR HELP. COULD BE A STACK OVERFLOW TAG OR OTHER -CHANNEL. WHERE WILL YOU HELP PEOPLE?**. +For help and questions about using this project, please file them as new Issues. ## Microsoft Support Policy -Support for this **PROJECT or PRODUCT** is limited to the resources listed above. +Support for this project is limited to the resources listed above. diff --git a/cmake/AddClangFormatTargets.cmake b/cmake/AddClangFormatTargets.cmake index 49e142a3..73511b97 100644 --- a/cmake/AddClangFormatTargets.cmake +++ b/cmake/AddClangFormatTargets.cmake @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT license. + # Add targets to run clang-format find_program(CLANG_FORMAT clang-format) diff --git a/cmake/FindGDRCopy.cmake b/cmake/FindGDRCopy.cmake index cde447ba..722c0734 100644 --- a/cmake/FindGDRCopy.cmake +++ b/cmake/FindGDRCopy.cmake @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT license. + # Find the GDRCopy libraries # # The following variables are optionally searched for defaults diff --git a/cmake/FindIBVerbs.cmake b/cmake/FindIBVerbs.cmake index fc80b11c..498ab928 100644 --- a/cmake/FindIBVerbs.cmake +++ b/cmake/FindIBVerbs.cmake @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT license. + # Find the IB Verbs libraries # # The following variables are optionally searched for defaults diff --git a/cmake/FindNUMA.cmake b/cmake/FindNUMA.cmake index 70e04d53..20f71ea4 100644 --- a/cmake/FindNUMA.cmake +++ b/cmake/FindNUMA.cmake @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT license. + # Find the numa libraries # # The following variables are optionally searched for defaults diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt index b5fa7984..faddc358 100644 --- a/include/CMakeLists.txt +++ b/include/CMakeLists.txt @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT license. + file(GLOB_RECURSE HEADERS CONFIGURE_DEPENDS *.hpp) target_sources(mscclpp PUBLIC FILE_SET HEADERS FILES ${HEADERS}) install(TARGETS mscclpp FILE_SET HEADERS) diff --git a/include/mscclpp/channel.hpp b/include/mscclpp/channel.hpp index 88f9e3ac..efd612df 100644 --- a/include/mscclpp/channel.hpp +++ b/include/mscclpp/channel.hpp @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #ifndef MSCCLPP_CHANNEL_HPP_ #define MSCCLPP_CHANNEL_HPP_ diff --git a/include/mscclpp/concurrency.hpp b/include/mscclpp/concurrency.hpp index 6035f70a..54910ee1 100644 --- a/include/mscclpp/concurrency.hpp +++ b/include/mscclpp/concurrency.hpp @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #ifndef MSCCLPP_CONCURRENCY_HPP_ #define MSCCLPP_CONCURRENCY_HPP_ diff --git a/include/mscclpp/core.hpp b/include/mscclpp/core.hpp index fae4606e..20b3fc5b 100644 --- a/include/mscclpp/core.hpp +++ b/include/mscclpp/core.hpp @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #ifndef MSCCLPP_CORE_HPP_ #define MSCCLPP_CORE_HPP_ diff --git a/include/mscclpp/cuda_utils.hpp b/include/mscclpp/cuda_utils.hpp index 7b0ee15c..ccee3e26 100644 --- a/include/mscclpp/cuda_utils.hpp +++ b/include/mscclpp/cuda_utils.hpp @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #ifndef MSCCLPP_CUDA_UTILS_HPP_ #define MSCCLPP_CUDA_UTILS_HPP_ diff --git a/include/mscclpp/epoch.hpp b/include/mscclpp/epoch.hpp index df5f1221..650f2e26 100644 --- a/include/mscclpp/epoch.hpp +++ b/include/mscclpp/epoch.hpp @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #ifndef MSCCLPP_EPOCH_HPP_ #define MSCCLPP_EPOCH_HPP_ diff --git a/include/mscclpp/errors.hpp b/include/mscclpp/errors.hpp index 3dd647fa..5b75045a 100644 --- a/include/mscclpp/errors.hpp +++ b/include/mscclpp/errors.hpp @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #ifndef MSCCLPP_ERRORS_HPP_ #define MSCCLPP_ERRORS_HPP_ diff --git a/include/mscclpp/fifo.hpp b/include/mscclpp/fifo.hpp index 357609bf..744927c0 100644 --- a/include/mscclpp/fifo.hpp +++ b/include/mscclpp/fifo.hpp @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #ifndef MSCCLPP_FIFO_HPP_ #define MSCCLPP_FIFO_HPP_ diff --git a/include/mscclpp/poll.hpp b/include/mscclpp/poll.hpp index 5e6ab56b..7328c300 100644 --- a/include/mscclpp/poll.hpp +++ b/include/mscclpp/poll.hpp @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #ifndef MSCCLPP_POLL_HPP_ #define MSCCLPP_POLL_HPP_ diff --git a/include/mscclpp/proxy.hpp b/include/mscclpp/proxy.hpp index 4e89e56b..a69ace8a 100644 --- a/include/mscclpp/proxy.hpp +++ b/include/mscclpp/proxy.hpp @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #ifndef MSCCLPP_PROXY_HPP_ #define MSCCLPP_PROXY_HPP_ diff --git a/include/mscclpp/utils.hpp b/include/mscclpp/utils.hpp index 1ce5d07d..081df4e5 100644 --- a/include/mscclpp/utils.hpp +++ b/include/mscclpp/utils.hpp @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #ifndef MSCCLPP_UTILS_HPP_ #define MSCCLPP_UTILS_HPP_ diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index dc86f638..b3b6f24b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,2 +1,5 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT license. + file(GLOB_RECURSE SOURCES CONFIGURE_DEPENDS *.cc) target_sources(mscclpp PRIVATE ${SOURCES}) diff --git a/src/bootstrap/bootstrap.cc b/src/bootstrap/bootstrap.cc index fb44b9c8..0766b061 100644 --- a/src/bootstrap/bootstrap.cc +++ b/src/bootstrap/bootstrap.cc @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #include #include diff --git a/src/c_style_remnants.cc b/src/c_style_remnants.cc index 269178ec..08c80394 100644 --- a/src/c_style_remnants.cc +++ b/src/c_style_remnants.cc @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #include "api.h" #include "debug.h" diff --git a/src/channel.cc b/src/channel.cc index f69fd667..3a0b6bdc 100644 --- a/src/channel.cc +++ b/src/channel.cc @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #include #include "api.h" diff --git a/src/communicator.cc b/src/communicator.cc index d5c8db6e..9545a74e 100644 --- a/src/communicator.cc +++ b/src/communicator.cc @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #include "communicator.hpp" #include diff --git a/src/config.cc b/src/config.cc index f592a1cf..7d6ab782 100644 --- a/src/config.cc +++ b/src/config.cc @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #include "config.hpp" namespace mscclpp { diff --git a/src/connection.cc b/src/connection.cc index 7d07eac4..53390472 100644 --- a/src/connection.cc +++ b/src/connection.cc @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #include "connection.hpp" #include diff --git a/src/cuda_utils.cc b/src/cuda_utils.cc index 598f0aa6..5b1449eb 100644 --- a/src/cuda_utils.cc +++ b/src/cuda_utils.cc @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #include namespace mscclpp { diff --git a/src/epoch.cc b/src/epoch.cc index 9d968bdd..f79aeef3 100644 --- a/src/epoch.cc +++ b/src/epoch.cc @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #include #include "api.h" diff --git a/src/errors.cc b/src/errors.cc index 88321061..c3b3ac70 100644 --- a/src/errors.cc +++ b/src/errors.cc @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #include #include diff --git a/src/fifo.cc b/src/fifo.cc index 09b6e36b..0d0516b4 100644 --- a/src/fifo.cc +++ b/src/fifo.cc @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #include #include diff --git a/src/ib.cc b/src/ib.cc index 7ea0fc83..aeafc6fb 100644 --- a/src/ib.cc +++ b/src/ib.cc @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #include "ib.hpp" #include diff --git a/src/include/api.h b/src/include/api.h index cb2cac81..d99a45b2 100644 --- a/src/include/api.h +++ b/src/include/api.h @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #ifndef MSCCLPP_API_H_ #define MSCCLPP_API_H_ diff --git a/src/include/communicator.hpp b/src/include/communicator.hpp index 36f1d4a2..edf6f506 100644 --- a/src/include/communicator.hpp +++ b/src/include/communicator.hpp @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #ifndef MSCCL_COMMUNICATOR_HPP_ #define MSCCL_COMMUNICATOR_HPP_ diff --git a/src/include/config.hpp b/src/include/config.hpp index 5737faf8..10fce659 100644 --- a/src/include/config.hpp +++ b/src/include/config.hpp @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #ifndef MSCCLPP_CONFIG_H_ #define MSCCLPP_CONFIG_H_ diff --git a/src/include/connection.hpp b/src/include/connection.hpp index a3fd86f1..fa9ae3ad 100644 --- a/src/include/connection.hpp +++ b/src/include/connection.hpp @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #ifndef MSCCLPP_CONNECTION_HPP_ #define MSCCLPP_CONNECTION_HPP_ diff --git a/src/include/ib.hpp b/src/include/ib.hpp index 4fdef3a7..14da2047 100644 --- a/src/include/ib.hpp +++ b/src/include/ib.hpp @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #ifndef MSCCLPP_IB_HPP_ #define MSCCLPP_IB_HPP_ diff --git a/src/include/numa.hpp b/src/include/numa.hpp index 680d9bae..64eddb17 100644 --- a/src/include/numa.hpp +++ b/src/include/numa.hpp @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #ifndef MSCCLPP_NUMA_HPP_ #define MSCCLPP_NUMA_HPP_ diff --git a/src/include/registered_memory.hpp b/src/include/registered_memory.hpp index b370a881..779cd796 100644 --- a/src/include/registered_memory.hpp +++ b/src/include/registered_memory.hpp @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #ifndef MSCCLPP_REGISTERED_MEMORY_HPP_ #define MSCCLPP_REGISTERED_MEMORY_HPP_ diff --git a/src/include/socket.h b/src/include/socket.h index 6fd2fa69..88d43047 100644 --- a/src/include/socket.h +++ b/src/include/socket.h @@ -1,8 +1,5 @@ -/************************************************************************* - * Copyright (c) 2016-2022, NVIDIA CORPORATION. All rights reserved. - * - * See LICENSE.txt for license information - ************************************************************************/ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. #ifndef MSCCLPP_SOCKET_H_ #define MSCCLPP_SOCKET_H_ diff --git a/src/npkit/npkit.cc b/src/npkit/npkit.cc index d72a5954..4bee4597 100644 --- a/src/npkit/npkit.cc +++ b/src/npkit/npkit.cc @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #include "npkit.h" #include diff --git a/src/npkit/npkit.h b/src/npkit/npkit.h index a324776b..6af98be8 100644 --- a/src/npkit/npkit.h +++ b/src/npkit/npkit.h @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #ifndef NPKIT_H_ #define NPKIT_H_ diff --git a/src/npkit/npkit_event.h b/src/npkit/npkit_event.h index 26087469..f17e7136 100644 --- a/src/npkit/npkit_event.h +++ b/src/npkit/npkit_event.h @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #ifndef NPKIT_EVENT_H_ #define NPKIT_EVENT_H_ diff --git a/src/npkit/npkit_struct.h b/src/npkit/npkit_struct.h index a18e8798..62b417f2 100644 --- a/src/npkit/npkit_struct.h +++ b/src/npkit/npkit_struct.h @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #ifndef NPKIT_STRUCT_H_ #define NPKIT_STRUCT_H_ diff --git a/src/numa.cc b/src/numa.cc index 5ef64c32..c66256e3 100644 --- a/src/numa.cc +++ b/src/numa.cc @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #include #include diff --git a/src/proxy.cc b/src/proxy.cc index 0ff5ffcb..88274694 100644 --- a/src/proxy.cc +++ b/src/proxy.cc @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #include #include #include diff --git a/src/registered_memory.cc b/src/registered_memory.cc index 1f206251..16bce3bb 100644 --- a/src/registered_memory.cc +++ b/src/registered_memory.cc @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #include "registered_memory.hpp" #include diff --git a/src/utils.cc b/src/utils.cc index 4e4fdeb2..7153d55c 100644 --- a/src/utils.cc +++ b/src/utils.cc @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #include #include diff --git a/src/utils_internal.cc b/src/utils_internal.cc index 632c9573..1e3d49d1 100644 --- a/src/utils_internal.cc +++ b/src/utils_internal.cc @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #include "utils_internal.hpp" #include diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 404986d5..73311434 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT license. + function(add_test_executable name sources) add_executable(${name} ${sources}) target_link_libraries(${name} mscclpp CUDA::cudart CUDA::cuda_driver) diff --git a/test/allgather_test_cpp.cu b/test/allgather_test_cpp.cu index f8254fc7..2daf89c0 100644 --- a/test/allgather_test_cpp.cu +++ b/test/allgather_test_cpp.cu @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #include #include diff --git a/test/allgather_test_host_offloading.cu b/test/allgather_test_host_offloading.cu index 5dee12e3..f804f7d1 100644 --- a/test/allgather_test_host_offloading.cu +++ b/test/allgather_test_host_offloading.cu @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #include #include #include diff --git a/test/mp_unit/CMakeLists.txt b/test/mp_unit/CMakeLists.txt index 1a9e43d9..f1c2bb0d 100644 --- a/test/mp_unit/CMakeLists.txt +++ b/test/mp_unit/CMakeLists.txt @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT license. + target_sources(mp_unit_tests PRIVATE mp_unit_tests.cc bootstrap_tests.cc diff --git a/test/mp_unit/bootstrap_tests.cc b/test/mp_unit/bootstrap_tests.cc index 7977d02b..4538e4c8 100644 --- a/test/mp_unit/bootstrap_tests.cc +++ b/test/mp_unit/bootstrap_tests.cc @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #include #include "config.hpp" diff --git a/test/mp_unit/communicator_tests.cu b/test/mp_unit/communicator_tests.cu index bda61591..6ecbc75a 100644 --- a/test/mp_unit/communicator_tests.cu +++ b/test/mp_unit/communicator_tests.cu @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #include #include diff --git a/test/mp_unit/device_channel_tests.cu b/test/mp_unit/device_channel_tests.cu index 4603bf4e..e94e3361 100644 --- a/test/mp_unit/device_channel_tests.cu +++ b/test/mp_unit/device_channel_tests.cu @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #include "mp_unit_tests.hpp" void DeviceChannelOneToOneTest::SetUp() { diff --git a/test/mp_unit/direct_channel_tests.cu b/test/mp_unit/direct_channel_tests.cu index d5ec57f4..ad8bf4be 100644 --- a/test/mp_unit/direct_channel_tests.cu +++ b/test/mp_unit/direct_channel_tests.cu @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #include "mp_unit_tests.hpp" void DirectChannelOneToOneTest::SetUp() { diff --git a/test/mp_unit/ib_tests.cu b/test/mp_unit/ib_tests.cu index 74af8844..43b18b05 100644 --- a/test/mp_unit/ib_tests.cu +++ b/test/mp_unit/ib_tests.cu @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #include #include diff --git a/test/mp_unit/mp_unit_tests.cc b/test/mp_unit/mp_unit_tests.cc index 2310fd8a..874fb9c8 100644 --- a/test/mp_unit/mp_unit_tests.cc +++ b/test/mp_unit/mp_unit_tests.cc @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #include "mp_unit_tests.hpp" #include diff --git a/test/mp_unit/mp_unit_tests.hpp b/test/mp_unit/mp_unit_tests.hpp index 967e043c..1e99b879 100644 --- a/test/mp_unit/mp_unit_tests.hpp +++ b/test/mp_unit/mp_unit_tests.hpp @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #ifndef MSCCLPP_MP_UNIT_TESTS_HPP_ #define MSCCLPP_MP_UNIT_TESTS_HPP_ diff --git a/test/mscclpp-test/CMakeLists.txt b/test/mscclpp-test/CMakeLists.txt index 80eab6d3..3a5afbe2 100644 --- a/test/mscclpp-test/CMakeLists.txt +++ b/test/mscclpp-test/CMakeLists.txt @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT license. + FetchContent_Declare(json URL https://github.com/nlohmann/json/releases/download/v3.11.2/json.tar.xz) FetchContent_MakeAvailable(json) diff --git a/test/mscclpp-test/allgather_test.cu b/test/mscclpp-test/allgather_test.cu index a279e3fd..f553f310 100644 --- a/test/mscclpp-test/allgather_test.cu +++ b/test/mscclpp-test/allgather_test.cu @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #include #include diff --git a/test/mscclpp-test/allreduce_test.cu b/test/mscclpp-test/allreduce_test.cu index e590c0c4..dc2e474b 100644 --- a/test/mscclpp-test/allreduce_test.cu +++ b/test/mscclpp-test/allreduce_test.cu @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #include #include #include diff --git a/test/mscclpp-test/alltoall_test.cu b/test/mscclpp-test/alltoall_test.cu index 63d9d3f5..01be55e9 100644 --- a/test/mscclpp-test/alltoall_test.cu +++ b/test/mscclpp-test/alltoall_test.cu @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #include #include diff --git a/test/mscclpp-test/common.cc b/test/mscclpp-test/common.cc index 12e35e0c..eadf0936 100644 --- a/test/mscclpp-test/common.cc +++ b/test/mscclpp-test/common.cc @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #include "common.hpp" #include diff --git a/test/mscclpp-test/common.hpp b/test/mscclpp-test/common.hpp index 9d9f639d..6f119eb0 100644 --- a/test/mscclpp-test/common.hpp +++ b/test/mscclpp-test/common.hpp @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #ifndef MSCCLPP_TESTS_COMMON_H_ #define MSCCLPP_TESTS_COMMON_H_ diff --git a/test/mscclpp-test/sendrecv_test.cu b/test/mscclpp-test/sendrecv_test.cu index 9b22e411..540f39a9 100644 --- a/test/mscclpp-test/sendrecv_test.cu +++ b/test/mscclpp-test/sendrecv_test.cu @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #include #include #include diff --git a/test/unit/CMakeLists.txt b/test/unit/CMakeLists.txt index ecc91c26..e86bc825 100644 --- a/test/unit/CMakeLists.txt +++ b/test/unit/CMakeLists.txt @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT license. + target_sources(unit_tests PRIVATE core_tests.cc cuda_utils_tests.cc diff --git a/test/unit/core_tests.cc b/test/unit/core_tests.cc index f33cc5c3..8f3dbaca 100644 --- a/test/unit/core_tests.cc +++ b/test/unit/core_tests.cc @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #include #include diff --git a/test/unit/cuda_utils_tests.cc b/test/unit/cuda_utils_tests.cc index 2bc11859..0fabd974 100644 --- a/test/unit/cuda_utils_tests.cc +++ b/test/unit/cuda_utils_tests.cc @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #include #include diff --git a/test/unit/errors_tests.cc b/test/unit/errors_tests.cc index 65af373f..456accbe 100644 --- a/test/unit/errors_tests.cc +++ b/test/unit/errors_tests.cc @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #include #include diff --git a/test/unit/fifo_tests.cu b/test/unit/fifo_tests.cu index b531ccac..03c769bd 100644 --- a/test/unit/fifo_tests.cu +++ b/test/unit/fifo_tests.cu @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #include #include diff --git a/test/unit/numa_tests.cc b/test/unit/numa_tests.cc index 5fbd5c2e..16abfcb1 100644 --- a/test/unit/numa_tests.cc +++ b/test/unit/numa_tests.cc @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #include #include diff --git a/test/unit/socket_tests.cc b/test/unit/socket_tests.cc index f09709a4..88742ba5 100644 --- a/test/unit/socket_tests.cc +++ b/test/unit/socket_tests.cc @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #include #include diff --git a/test/unit/utils_tests.cc b/test/unit/utils_tests.cc index ad9d8836..28cbbd06 100644 --- a/test/unit/utils_tests.cc +++ b/test/unit/utils_tests.cc @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + #include #include