Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions projects/rccl/src/include/nccl_device/impl/vector__funcs.h
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,13 @@ NCCL_DEVICE_INLINE EltPack<int8_t, 4> reducePack(OpSum<int8_t> const& /* red */,
Int8PackAccess4 out;
aa.pack = a;
bb.pack = b;
#if defined(NCCL_HIP_PLATFORM) || defined(__HIP_PLATFORM_AMD__)
#pragma unroll
for (int i = 0; i < 4; ++i)
out.pack.elts()[i] = static_cast<int8_t>(aa.pack.elts()[i] + bb.pack.elts()[i]);
#else
Comment thread
alexander-sannikov marked this conversation as resolved.
Resolved
out.word = __vadd4(aa.word, bb.word);
#endif
return out.pack;
}

Expand Down
1 change: 1 addition & 0 deletions projects/rccl/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,7 @@ if(BUILD_TESTS)
GinNcclTimeoutMPITests.cpp
SymmetricKernelMPITests.cpp
SymmetricWindowMPITests.cpp
DeviceApiMPITests.cpp
CommNetMismatchMPITests.cpp
)

Expand Down
Loading
Loading