Forward failure callback alignment#2402
Conversation
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
📝 WalkthroughSummary by CodeRabbit
WalkthroughThe PR updates failure_callback_resource_adaptor_impl to accept and forward the caller-provided alignment (defaulting to rmm::CUDA_ALLOCATION_ALIGNMENT) to upstream allocate/deallocate calls; allocate_sync/deallocate_sync defaults were updated. A new test verifies alignment forwarding using a mock resource. ChangesAlignment parameter forwarding
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related issues
Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
/merge |
Description
Forwards caller-provided alignment through
failure_callback_resource_adaptorallocation and deallocation calls instead of always usingCUDA_ALLOCATION_ALIGNMENT. This preserves alignment semantics when the adaptor is stacked with other resources.Checklist