Skip to content

Merge main into staging#2288

Merged
bdice merged 3 commits intorapidsai:stagingfrom
bdice:staging-merge-main
Mar 12, 2026
Merged

Merge main into staging#2288
bdice merged 3 commits intorapidsai:stagingfrom
bdice:staging-merge-main

Conversation

@bdice
Copy link
Copy Markdown
Collaborator

@bdice bdice commented Mar 11, 2026

Description

This merges the following changes into the staging branch:

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

bdice added 2 commits March 11, 2026 00:02
…>=3.3 (rapidsai#2283)

Closes rapidsai#2282

Remove the `rmm::detail::polyfill` namespace and delete `rmm/detail/cuda_memory_resource.hpp`. All usages are replaced with the CCCL concepts directly (`cuda::mr::synchronous_resource`, `cuda::mr::resource`, etc.). The CCCL version check is relocated to `rmm/detail/export.hpp` and updated to require CCCL >=3.3. (xref: rapidsai/rapids-cmake#981 -- also note that the CCCL 3.3 pre-release was the same as the final release)

Authors:
  - Bradley Dice (https://github.com/bdice)

Approvers:
  - Rong Ou (https://github.com/rongou)

URL: rapidsai#2283
…sai#2284)

Follow-up to rapidsai#2273. The binning memory resource test recreates a `BinningMemoryResource` (with `FixedSizeMemoryResource` bins backed by `ManagedMemoryResource`) for every `(dtype, nelem, alloc, upstream_mr)` combination. The managed memory slab allocations make each creation take ~0.5–0.9s, totaling ~40s for 147 tests.

Restructure the test into a class with a class-scoped fixture so that each `BinningMemoryResource` is built once per `upstream_mr` rather than once per test. A function-scoped autouse fixture sets the current device resource before each test.

Times measured on an RTX 2070 Super (8 GiB) under WSL2, where managed memory operations can be particularly expensive. Binning tests drop from ~39s to ~3s; full suite drops from ~49s to ~11s.

Authors:
  - Bradley Dice (https://github.com/bdice)

Approvers:
  - Matthew Murray (https://github.com/Matt711)

URL: rapidsai#2284
@bdice bdice requested review from a team as code owners March 11, 2026 23:23
@bdice bdice requested review from lamarrr and vyasr and removed request for a team March 11, 2026 23:23
@bdice bdice moved this to In Progress in RMM Project Board Mar 11, 2026
@bdice bdice added non-breaking Non-breaking change improvement Improvement / enhancement to an existing function labels Mar 11, 2026
@bdice bdice self-assigned this Mar 11, 2026
@bdice bdice changed the title Staging merge main Merge main into staging Mar 12, 2026
@bdice bdice force-pushed the staging-merge-main branch from 3ba3725 to f103d99 Compare March 12, 2026 15:35
@bdice bdice merged commit b196702 into rapidsai:staging Mar 12, 2026
82 of 85 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in RMM Project Board Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Improvement / enhancement to an existing function non-breaking Non-breaking change

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants