Repository navigation
What's Changed
This release includes major improvements to cuDecomp’s communication backends, autotuning, resource management, and API robustness. Notable additions include a new SM-based NVSHMEM transpose backend, support for multiple cuDecomp handles in the same process, native NCCL Alltoall usage when available, and improved NCCL user-buffer registration and CUDA VMM allocation support. Process-grid rank ordering can now be selected directly through the grid descriptor configuration. Autotuning gains controls for filtering communication backends and process-grid candidates, including the ability to disable MPI backends. This release also adds a comprehensive CTest-based test suite and numerous fixes for large inputs, empty pencils, pipelined and direct transposes, argument validation, error handling, and resource cleanup.
Breaking changes
-
cuDecomp 0.7.0 is not ABI-compatible with cuDecomp 0.6.x. #155 adds version and size metadata to the public
cudecompGridDescConfig_t,cudecompGridDescAutotuneOptions_t, andcudecompPencilInfo_tstructures and introduces versioned exported entry points for APIs that use these structures. Applications and libraries built against cuDecomp 0.6.x must be rebuilt and relinked against cuDecomp 0.7.0. Do not mix 0.6.x headers, Fortran modules, or compiled objects with the 0.7.0 libraries. Grid descriptor configuration and autotuning option structures must be initialized withcudecompGridDescConfigSetDefaultsandcudecompGridDescAutotuneOptionsSetDefaults, respectively, before they are first passed tocudecompGridDescCreate. -
The minimum supported NVSHMEM version is now 2.6.0. Builds using an older NVSHMEM release must upgrade before moving to cuDecomp 0.7.0. See #106.
Deprecations
- The
CUDECOMP_USE_COL_MAJOR_RANK_ORDERenvironment variable is deprecated. Set the newrank_orderfield ofcudecompGridDescConfig_t/cudecompGridDescConfiginstead. The environment variable remains supported whenrank_orderis left atCUDECOMP_RANK_ORDER_DEFAULT. See #119.
PRs included in this release
- Add SM75 support to default builds with CUDA 13. (#97)
- Fix potential deadlock during NCCL local communicator creation. (#98)
- Add
CUDECOMP_DISABLE_MNNVLdebug option. (#99) - Relax empty-pencil checks during grid descriptor creation. (#103)
- Improve support for very large inputs. (#105)
- Require NVSHMEM 2.6.0 or newer and update NVSHMEM usage guidance. (#106)
- Force workspace usage with MPI backends on MNNVL communicators when fabric-allocated workspace is available. (#108)
- Use native NVSHMEM synchronization APIs in NVSHMEM backends. (#111)
- Add a workaround for the cuTENSOR 2.3.x–2.5.x out-of-bounds host write affecting large problem sizes. (#113)
- Align workspace offset pointers to 256-byte boundaries. (#109)
- Add an SM-based NVSHMEM transpose communication backend. (#114)
- Fix verbose
NVSHMEM_CUMEM_GRANULARITYwarnings. (#115) - Remove inter-trial device synchronizations during autotuning. (#116)
- Reduce
nvshmem_fencecalls in the NVSHMEM SM backend. (#118) - Apply minor general fixes. (#120)
- Add a process-grid rank-order configuration option. (#119)
- Make public header dependencies explicit. (#121)
- Fix and improve NCCL user-buffer registration. (#122)
- Expand C API exception handling to catch generic exceptions. (#123)
- Use reference-counted NVSHMEM initialization state. (#124)
- Improve CUDA event resource management. (#125)
- Improve CUDA stream resource management. (#126)
- Improve grid descriptor and handle resource cleanup. (#127)
- Improve autotuning resource cleanup on failure. (#128)
- Improve VMM, cuTENSOR, and CUDA graph cleanup on failure. (#129)
- Allow GPU oversubscription in test programs. (#130)
- Fix
cudecompGetShiftedRankbehavior for zero displacement. (#131) - Remove an outdated
transpose_axis_contiguousoverride during grid descriptor creation. (#133) - Fix a typo in the
cudecompUpdateHaloZFortran interface. (#134) - Add a CTest-based testing framework. (#135)
- Use native NCCL Alltoall when available. (#136)
- Silence verbose
ptxasoutput during builds. (#137) - Propagate NVSHMEM compile definitions to CTest builds. (#138)
- Support multiple cuDecomp handles. (#139)
- Fix pencil-info initialization in the basic usage documentation. (#140)
- Reject negative process-grid dimensions. (#141)
- Use the matching MPI datatype for
size_treductions. (#142) - Allow null halo-period arrays for non-periodic halos. (#143)
- Fix pipelined transpose handling of empty ranks. (#144)
- Validate pencil halo and padding extents. (#145)
- Fix direct transpose output offsets. (#146)
- Harden pipelined self-copy rank assignments. (#147)
- Fix halo workspace API documentation and the benchmark sample link. (#148)
- Avoid parsing NVSHMEM device headers in non-RDC CUDA translation units. (#149)
- Add missing CUDA launch checks to benchmarks and examples. (#150)
- Address an
iso_c_bindingwarning in the Fortran Poisson example. (#151) - Improve NCCL user-buffer registration and extend CUDA VMM allocations to platforms without fabric allocation support. (#152)
- Fix MPI broadcast sizing during autotuning and remove the release-build
-O1optimization cap. (#153) - Add autotuning candidate filters and an option to disable MPI backends. (#154)
- Harden the ABI of public structures for future extensions. (#155)
- Remove redundant NCCL Alltoall runtime version check. (#157)
- Fix potential deadlock due to mismatched NCCL local communicator handling. (#158)
Full Changelog: v0.6.0...v0.7.0