Skip to content

Commit 2697b92

Browse files
committed
Skip if multicast not supported
1 parent eb89260 commit 2697b92

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/cpp/test_multidevice_stream_parallel_type.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,9 @@ TEST_P(RSMatmulTest, ReduceScatterReduceBased) {
704704
<< ", D = " << D;
705705
}
706706
if (communicator_backend == CommunicatorBackend::kCuda) {
707+
if (!isMulticastSupported()) {
708+
GTEST_SKIP() << "Device does not support Multicast; skipping.";
709+
}
707710
EnableOptionsGuard::getCurOptions().set(EnableOption::MulticastProtocol, {"multimem"});
708711
}
709712

0 commit comments

Comments
 (0)