Use by value semantics in __set_difference helper in set_difference.h - #10981
Use by value semantics in __set_difference helper in set_difference.h#10981oleksandr-pavlyk wants to merge 2 commits into
Conversation
|
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)
Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review. 📝 WalkthroughSummary by CodeRabbit
WalkthroughThe pull request changes ChangesSet difference move parameter fix
Assessment against linked issues
Suggested reviewers: Merge Risk: ⚪ Minimal · up to This localized helper change is merge-ready after normal checks and review; no actionable merge-blocking risk remains. Comment |
This comment has been minimized.
This comment has been minimized.
|
Yeah we should probably just move in the top level function and accept by value, which is much more consistent with what we do everywhere else |
Callers of __set_difference use ::cuda::std::move
61a9198 to
438fe40
Compare
|
Note GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
😬 CI Workflow Results🟥 Finished in 4h 01m: Pass: 99%/195 | Total: 6d 16h | Max: 4h 01m | Hits: 45%/3083240See results here. AI failure analysis1. CUDA STF exception translation: noreturn function returns under NVHPC · 1 jobExplanation: NVHPC 26.5 does not prove that every valid `if constexpr` branch in `translate_t::__throw_translated` throws, so it diagnoses the closing brace of the `[[noreturn]]` function. The PR diff does not modify this file, but the header build instantiates the affected helper and warnings are promoted to errors. Evidence: Copy this prompt into a coding agentJobs: 2. RAPIDS environment creation: rapidsai-nightly repodata returned HTTP 503 · 3 jobsExplanation: These jobs failed while creating the shared RAPIDS conda environment, before any downstream project compilation, because the rapidsai-nightly channel repeatedly returned HTTP 503 responses. This is an external package-channel availability failure rather than evidence of a CCCL or RAPIDS source regression. Evidence: Copy this prompt into a coding agentJobs: 3. RAPIDS environment creation: repodata ZSTD decompression failed · 1 jobExplanation: The cuopt matrix received bytes that libmamba could not decode as ZSTD metadata for both rapidsai-nightly subdirectories, so environment creation stopped before compilation. The log cannot determine whether the malformed payload originated upstream, from an intermediary, or from the mounted conda metadata cache. Evidence: Copy this prompt into a coding agentJobs: |
The warning was a false positive per @miscco (#10938 (review))
Description
closes #10934
Update: the controversial NOLINT addition is removed.
__set_differencenow takes iterators by value.Checklist