Repository navigation
Document expected_allocation_size dedup and TEST_LAUNCH guard conventions for CUB env tests - #11609
Conversation
The "<algorithm> uses environment" checklist item is already tested once per overload; call out explicitly that the check shouldn't be duplicated in other test cases covering the same overload for a different item. Co-Authored-By: Claude Sonnet 5 <[email protected]>
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: NVIDIA/cccl/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 12 included reviews per hour; 10 remain after this review. 📝 SummarySummary by CodeRabbit
WalkthroughThe environment-aware API testing guidance specifies launch-wrapper and ChangesTest guidance
Priority: ⬇️ Low Change: Other Merge Risk: ⚪ Minimal · up to The guidance matches the supplied test-wrapper behavior, and no actionable merge risk is identified. Comment |
… item Explain which TEST_LAUNCH value(s) each recommended test case should run under, and why: item 1 bypasses the launch wrapper entirely so it only needs launch id 0; items 3-6 exclude launch id 1 since a custom stream is unusable from device code and the launch id 1 memory resource needs expected_allocation_size upfront, which those tests don't provide. Co-Authored-By: Claude Sonnet 5 <[email protected]>
Guards the "uses custom stream" tests with TEST_LAUNCH != 1 and removes their expected_allocation_size check, which the "uses environment" tests already cover (NVIDIA#11609). Output vectors are constructed with thrust::no_init.
Guards the "uses custom stream" tests with TEST_LAUNCH != 1 and removes their expected_allocation_size check, which the "uses environment" tests already cover (NVIDIA#11609). Output vectors are constructed with thrust::no_init.
🤖 Generated with Claude Code