Skip to content

Commit beb8f93

Browse files
committed
Rename nvls* files
1 parent a484218 commit beb8f93

File tree

11 files changed

+14
-21
lines changed

11 files changed

+14
-21
lines changed

apps/nccl/src/allreduce.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
#include <mscclpp/gpu_data_types.hpp>
1414
#include <mscclpp/memory_channel.hpp>
1515
#include <mscclpp/memory_channel_device.hpp>
16-
#include <mscclpp/nvls.hpp>
1716
#include <mscclpp/packet_device.hpp>
17+
#include <mscclpp/switch_channel.hpp>
1818
#include <type_traits>
1919

2020
#if defined(ENABLE_NPKIT)

apps/nccl/src/common.cu

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include <algorithm>
22
#include <mscclpp/core.hpp>
33
#include <mscclpp/memory_channel.hpp>
4-
#include <mscclpp/nvls.hpp>
4+
#include <mscclpp/switch_channel.hpp>
55

66
#include "common.hpp"
77

@@ -98,8 +98,8 @@ std::vector<mscclpp::SwitchChannel> setupNvlsChannels(std::vector<std::shared_pt
9898

9999
for (int idx = 0; idx < nSwitchChannels; ++idx) {
100100
std::shared_ptr<mscclpp::NvlsConnection> nvlsConnection = conns[idx];
101-
mscclpp::SwitchChannel SwitchChannel = nvlsConnection->bindAllocatedMemory((CUdeviceptr)buffer, bufferSize);
102-
channels.push_back(SwitchChannel);
101+
mscclpp::SwitchChannel switchChannel = nvlsConnection->bindAllocatedMemory((CUdeviceptr)buffer, bufferSize);
102+
channels.push_back(switchChannel);
103103
}
104104
return channels;
105105
}

apps/nccl/src/common.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include <mscclpp/core.hpp>
99
#include <mscclpp/env.hpp>
1010
#include <mscclpp/memory_channel.hpp>
11-
#include <mscclpp/nvls.hpp>
11+
#include <mscclpp/switch_channel.hpp>
1212
#include <vector>
1313

1414
#if defined(__HIP_PLATFORM_AMD__)

apps/nccl/src/nccl.cu

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,10 @@
44
#include <algorithm>
55
#include <filesystem>
66
#include <functional>
7-
#include <mscclpp/concurrency_device.hpp>
87
#include <mscclpp/core.hpp>
98
#include <mscclpp/env.hpp>
109
#include <mscclpp/executor.hpp>
11-
#include <mscclpp/memory_channel.hpp>
12-
#include <mscclpp/memory_channel_device.hpp>
13-
#include <mscclpp/nvls.hpp>
1410
#include <mscclpp/utils.hpp>
15-
#include <queue>
16-
#include <sstream>
1711
#include <unordered_map>
1812
#include <vector>
1913
#if defined(ENABLE_NPKIT)

include/mscclpp/algorithm.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
#include <memory>
88
#include <mscclpp/memory_channel.hpp>
9-
#include <mscclpp/nvls.hpp>
109
#include <mscclpp/port_channel.hpp>
10+
#include <mscclpp/switch_channel.hpp>
1111
#include <vector>
1212

1313
namespace mscclpp {
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Copyright (c) Microsoft Corporation.
22
// Licensed under the MIT license.
33

4-
#ifndef MSCCLPP_NVLS_HPP_
5-
#define MSCCLPP_NVLS_HPP_
4+
#ifndef MSCCLPP_SWITCH_CHANNEL_HPP_
5+
#define MSCCLPP_SWITCH_CHANNEL_HPP_
66

77
#include <mscclpp/gpu_utils.hpp>
88
#include <mscclpp/switch_channel_device.hpp>
@@ -68,4 +68,4 @@ std::shared_ptr<NvlsConnection> connectNvlsCollective(std::shared_ptr<Communicat
6868

6969
} // namespace mscclpp
7070

71-
#endif // MSCCLPP_NVLS_HPP_
71+
#endif // MSCCLPP_SWITCH_CHANNEL_HPP_
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include <nanobind/stl/vector.h>
1010

1111
#include <mscclpp/core.hpp>
12-
#include <mscclpp/nvls.hpp>
12+
#include <mscclpp/switch_channel.hpp>
1313

1414
namespace nb = nanobind;
1515
using namespace mscclpp;

src/executor/executor.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33

44
#include <mscclpp/executor.hpp>
55
#include <mscclpp/memory_channel.hpp>
6-
#include <mscclpp/nvls.hpp>
76
#include <mscclpp/port_channel.hpp>
8-
#include <set>
7+
#include <mscclpp/switch_channel.hpp>
98

109
#include "debug.h"
1110
#include "execution_kernel.hpp"

src/include/execution_common.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
#define MSCCLPP_EXECUTION_COMMON_HPP_
66

77
#include <mscclpp/memory_channel.hpp>
8-
#include <mscclpp/nvls.hpp>
98
#include <mscclpp/port_channel.hpp>
9+
#include <mscclpp/switch_channel.hpp>
1010

1111
namespace mscclpp {
1212

src/nvls.cc renamed to src/switch_channel.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
#include <algorithm>
88
#include <mscclpp/core.hpp>
9-
#include <mscclpp/nvls.hpp>
9+
#include <mscclpp/switch_channel.hpp>
1010
#include <mscclpp/utils.hpp>
1111

1212
#include "api.h"

0 commit comments

Comments
 (0)