Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
e2f2449
test(rccl): add host microtests for the bootstrap
aduforest Oct 15, 2026
3e01295
test(rccl): address review on the bootstrap microtests
aduforest Oct 15, 2026
45917fa
test(rccl): check the root and the TLS helper thread directly
aduforest Oct 15, 2026
8cbd379
test(rccl): check gathered addresses per rank and count helper connects
aduforest Oct 15, 2026
517565d
test(rccl): check bcastGrowHandle leaves the inner ranks alone
aduforest Oct 16, 2026
dd2a465
Merge remote-tracking branch 'origin/develop' into users/aduforest/ai…
aduforest Oct 16, 2026
eb45a70
test(rccl): tighten bootstrap microtests and name pinned bugs KnownBug_
aduforest Oct 16, 2026
6efcdac
Merge remote-tracking branch 'origin/develop' into users/aduforest/ai…
aduforest Oct 19, 2026
c14e006
test(rccl): move the bootstrap binary's fakes out of bootstrap-test.cc
aduforest Oct 19, 2026
ad00342
Merge remote-tracking branch 'origin/develop' into users/aduforest/ai…
aduforest Oct 19, 2026
2531c9e
Merge remote-tracking branch 'origin/develop' into users/aduforest/ai…
aduforest Oct 20, 2026
0ef031a
test(rccl): host-only suites declare num_gpus 0
aduforest Oct 21, 2026
1e4d592
Merge remote-tracking branch 'origin/develop' into users/aduforest/ai…
aduforest Oct 21, 2026
0bedadf
test(rccl): check bootstrap behaviour instead of WARN text per review
aduforest Oct 22, 2026
7359a42
Merge remote-tracking branch 'origin/develop' into users/aduforest/ai…
aduforest Oct 22, 2026
5209585
test(rccl): keep bootstrap pins and fakes UB- and leak-free (pre-merg…
aduforest Oct 22, 2026
7d753a6
Merge remote-tracking branch 'origin/develop' into users/aduforest/ai…
aduforest Oct 22, 2026
c991f7b
test(rccl): move bootstrap's in-memory sockets into socket_fakes per …
aduforest Oct 22, 2026
34a99f5
Merge remote-tracking branch 'origin/develop' into users/aduforest/ai…
aduforest Oct 22, 2026
5cc8eb0
test(rccl): revert the socket_fakes port
aduforest Oct 22, 2026
229eafb
Merge remote-tracking branch 'origin/develop' into users/aduforest/ai…
aduforest Oct 24, 2026
6ca2bc4
test(rccl): add a BootstrapNetBidirMicrotest fixture per review
aduforest Oct 24, 2026
8e77e8b
test(rccl): stop changing ci-precheckin.json
aduforest Oct 24, 2026
7c058e3
Merge remote-tracking branch 'origin/develop' into users/aduforest/ai…
aduforest Oct 26, 2026
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
19 changes: 19 additions & 0 deletions projects/rccl/test/host/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,15 @@ function(rccl_define_micro_source_lists)
fakes/transport_p2p_fakes.cc # src/transport/p2p.cc shareable buffers
../common/main_altrsmi.cpp
PARENT_SCOPE)

# rccl-UnitTestsMicroBootstrap -- src/bootstrap.cc. Own binary: the test supplies its own socket layer,
# net plugin and logging seams, and other binaries link bootstrap_stubs.cc for this unit's symbols.
set(TEST_MICRO_BOOTSTRAP_SOURCE_FILES
bootstrap-test.cc
fakes/env_fakes.cc
fakes/os_fakes.cc
../common/main_altrsmi.cpp
PARENT_SCOPE)
endfunction()

# Create one host-only micro-test binary and apply all the boilerplate that
Expand Down Expand Up @@ -1055,6 +1064,16 @@ rccl_add_micro_binary(rccl-UnitTestsMicroClientSupport
CLIENT_SUPPORT_CC_PATH="${RCCL_HOST_HIPIFY_DIR}/src/ras/client_support.cc"
CATEGORIES_YAML "${CMAKE_CURRENT_SOURCE_DIR}/../test_categories_micro.yaml")

# ---------------------------------------------------------------------------
# rccl-UnitTestsMicroBootstrap
# ---------------------------------------------------------------------------
rccl_add_micro_binary(rccl-UnitTestsMicroBootstrap
SOURCES ${TEST_MICRO_BOOTSTRAP_SOURCE_FILES}
EXTRA_DEFS
${_MICRO_MODE_DEFS}
BOOTSTRAP_CC_PATH="${RCCL_HOST_HIPIFY_DIR}/src/bootstrap.cc"
CATEGORIES_YAML "${CMAKE_CURRENT_SOURCE_DIR}/../test_categories_micro_bootstrap.yaml")

# ---------------------------------------------------------------------------
# rccl-UnitTestsMicroSymKernels
# ---------------------------------------------------------------------------
Expand Down
7 changes: 7 additions & 0 deletions projects/rccl/test/host/MICROTEST_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,11 @@ export colliding non-`static` symbols; otherwise a unit needs its own binary:
`NCCL_GIN_PROXY_NTHREADS` progress-thread assignment. Its own binary, not
sharing `rccl-UnitTestsMicro`: `gin-plugin-init-test.cc` already defines
`ncclParamGinEnable` there. See `test_categories_micro_gin_host.yaml`.
- **`rccl-UnitTestsMicroBootstrap`** — `bootstrap.cc` (via `BOOTSTRAP_CC_PATH`, from
`bootstrap-test.cc`); suite `Bootstrap*`. Ranks run as threads over an in-memory socket
layer and net plugin defined in the test. Its own binary because those seams replace
`misc/socket.cc` wholesale, and other binaries link `bootstrap_stubs.cc` for this unit's
symbols. See `test_categories_micro_bootstrap.yaml`.
- **`rccl-UnitTestsMicroDiagnostics`**: `src/diagnostics/p2p.cc` (via
`DIAG_P2P_CC_PATH`, suite `DiagP2pMicrotest.*`) and `src/diagnostics/ib_write_bw.cc`
(via `DIAG_IB_WRITE_BW_CC_PATH`, suite `DiagIbWriteBwMicrotest.*`). Its own binary: it fakes the
Expand Down Expand Up @@ -829,6 +834,7 @@ can be configured **directly** to build every host binary — `rccl-HostUnitTest
`rccl-UnitTestsMicro`, `rccl-UnitTestsMicroWarpSpeed`,
`rccl-UnitTestsMicroInit[-uncached|-faultinj]`, `rccl-UnitTestsMicroEnqueue[-devlinker]`,
`rccl-UnitTestsMicroGinHost`, `rccl-UnitTestsMicroCe`, `rccl-UnitTestsMicroDiagnostics`,
`rccl-UnitTestsMicroBootstrap`,
`rccl-UnitTestsMicroSymKernels` and `rccl-UnitTestsMicroTaskPrep` — **without configuring/building all of
librccl**. It compiles just the tests + fakes + the hipified unit-under-test
sources.
Expand Down Expand Up @@ -869,6 +875,7 @@ cmake --build build -j"$(nproc)"
./build/rccl-UnitTestsMicroTaskPrep # src/enqueue/task_prep/ + task_sched/ tests
./build/rccl-UnitTestsMicroDiagnostics # src/diagnostics/{p2p,ib_write_bw}.cc tests
./build/rccl-UnitTestsMicroGinHost # src/gin/gin_host.cc GIN_PROXY_NTHREADS
./build/rccl-UnitTestsMicroBootstrap # src/bootstrap.cc tests
./build/rccl-UnitTestsMicroDiagnostics # src/diagnostics/p2p.cc tests
./build/rccl-UnitTestsMicroCe # src/ce_coll.cc tests
./build/rccl-HostUnitTests
Expand Down
Loading
Loading