Skip to content

Replace detail::scan::dispatch by CUB's public API - #8495

Merged
bernhardmgruber merged 15 commits into
NVIDIA:mainfrom
bernhardmgruber:use_scan_public
May 6, 2026
Merged

bernhardmgruber merged 15 commits into
NVIDIA:mainfrom
bernhardmgruber:use_scan_public

Conversation

@bernhardmgruber

@bernhardmgruber bernhardmgruber commented Apr 16, 2026 •

Copy link
Copy Markdown
Contributor

Fixes: #8373

Summary by CodeRabbit

  • Refactor

    • Simplified device scan benchmarks with modernized internal API patterns.
    • Device scan dispatch refactored to support flexible runtime policy selection for improved tuning capabilities.
    • Expanded test coverage for inclusive and exclusive scan initialization operations.
  • Chores

    • Added implementation notes marking areas for future optimization work.

@bernhardmgruber
bernhardmgruber requested review from a team as code owners April 16, 2026 23:07
@github-project-automation github-project-automation Bot moved this to Todo in CCCL Apr 16, 2026
@bernhardmgruber bernhardmgruber changed the title Replace detail::scan::dispatch by CUB's public API Replace detail::scan::dispatch by CUB's public API Apr 16, 2026
@cccl-authenticator-app cccl-authenticator-app Bot moved this from Todo to In Review in CCCL Apr 16, 2026
@github-actions

This comment has been minimized.

@bernhardmgruber
bernhardmgruber force-pushed the use_scan_public branch 2 times, most recently from f9197b4 to b42380e Compare April 20, 2026 13:32
Comment thread thrust/thrust/system/cuda/detail/scan.h Resolved
Comment thread thrust/thrust/system/cuda/detail/scan.h Resolved
Comment thread thrust/thrust/system/cuda/detail/scan.h Resolved
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@bernhardmgruber bernhardmgruber mentioned this pull request Apr 22, 2026
1 task done
@bernhardmgruber
bernhardmgruber force-pushed the use_scan_public branch 2 times, most recently from 29c5730 to d7de639 Compare April 28, 2026 10:31
@github-actions

This comment has been minimized.

Comment thread cub/test/catch2_test_device_scan_env.cu Resolved
Comment thread cub/cub/device/device_scan.cuh Resolved
Comment thread cub/cub/device/device_scan.cuh Resolved
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@NaderAlAwar

Copy link
Copy Markdown
Contributor

@coderabbitai configuration

@coderabbitai

coderabbitai Bot commented May 5, 2026

Copy link
Copy Markdown
Contributor

Configuration used: Organization UI

CodeRabbit configuration
language: en-US
tone_instructions: ''
early_access: false
enable_free_tier: false
inheritance: false
reviews:
  profile: chill
  request_changes_workflow: false
  high_level_summary: true
  high_level_summary_instructions: ''
  high_level_summary_placeholder: '@coderabbitai summary'
  high_level_summary_in_walkthrough: false
  auto_title_placeholder: '@coderabbitai'
  auto_title_instructions: ''
  review_status: false
  review_details: false
  commit_status: false
  fail_commit_status: false
  collapse_walkthrough: false
  changed_files_summary: true
  sequence_diagrams: true
  estimate_code_review_effort: true
  assess_linked_issues: true
  related_issues: true
  related_prs: true
  suggested_labels: true
  labeling_instructions: []
  auto_apply_labels: false
  suggested_reviewers: true
  auto_assign_reviewers: false
  suggested_reviewers_instructions: []
  in_progress_fortune: true
  poem: true
  enable_prompt_for_ai_agents: true
  path_filters: []
  path_instructions: []
  abort_on_close: true
  disable_cache: false
  slop_detection:
    enabled: true
  auto_review:
    enabled: false
    description_keyword: ''
    auto_incremental_review: true
    auto_pause_after_reviewed_commits: 5
    ignore_title_keywords: []
    labels: []
    drafts: false
    base_branches: []
    ignore_usernames: []
  finishing_touches:
    docstrings:
      enabled: true
    unit_tests:
      enabled: true
    simplify:
      enabled: false
    custom: []
  pre_merge_checks:
    override_requested_reviewers_only: false
    docstrings:
      mode: warning
      threshold: 80
    title:
      mode: warning
      requirements: ''
    description:
      mode: warning
    issue_assessment:
      mode: warning
    custom_checks: []
  tools:
    ast-grep:
      rule_dirs: []
      util_dirs: []
      essential_rules: true
      packages: []
    shellcheck:
      enabled: true
    ruff:
      enabled: true
    markdownlint:
      enabled: true
    github-checks:
      enabled: true
      timeout_ms: 90000
    languagetool:
      enabled: true
      enabled_rules: []
      disabled_rules: []
      enabled_categories: []
      disabled_categories: []
      enabled_only: false
      level: default
    biome:
      enabled: true
    hadolint:
      enabled: true
    swiftlint:
      enabled: true
    phpstan:
      enabled: true
      level: default
    phpmd:
      enabled: true
    phpcs:
      enabled: true
    golangci-lint:
      enabled: true
    yamllint:
      enabled: true
    gitleaks:
      enabled: true
    trufflehog:
      enabled: true
    checkov:
      enabled: true
    tflint:
      enabled: true
    detekt:
      enabled: true
    eslint:
      enabled: true
    flake8:
      enabled: true
    fortitudeLint:
      enabled: true
    rubocop:
      enabled: true
    buf:
      enabled: true
    regal:
      enabled: true
    actionlint:
      enabled: true
    pmd:
      enabled: true
    clang:
      enabled: true
    cppcheck:
      enabled: true
    opengrep:
      enabled: true
    semgrep:
      enabled: true
    circleci:
      enabled: true
    clippy:
      enabled: true
    sqlfluff:
      enabled: true
    trivy:
      enabled: true
    prismaLint:
      enabled: true
    pylint:
      enabled: true
    oxc:
      enabled: true
    shopifyThemeCheck:
      enabled: true
    luacheck:
      enabled: true
    brakeman:
      enabled: true
    dotenvLint:
      enabled: true
    htmlhint:
      enabled: true
    stylelint:
      enabled: true
    checkmake:
      enabled: true
    osvScanner:
      enabled: true
    blinter:
      enabled: true
    smartyLint:
      enabled: true
    emberTemplateLint:
      enabled: true
    psscriptanalyzer:
      enabled: true
chat:
  art: true
  allow_non_org_members: true
  auto_reply: true
  integrations:
    jira:
      usage: auto
    linear:
      usage: auto
knowledge_base:
  opt_out: false
  web_search:
    enabled: true
  code_guidelines:
    enabled: true
    filePatterns: []
  learnings:
    scope: auto
  issues:
    scope: auto
  jira:
    usage: auto
    project_keys: []
  linear:
    usage: auto
    team_keys: []
  pull_requests:
    scope: auto
  mcp:
    usage: auto
    disabled_servers: []
  linked_repositories: []
code_generation:
  docstrings:
    language: en-US
    path_instructions: []
  unit_tests:
    path_instructions: []
issue_enrichment:
  auto_enrich:
    enabled: false
  planning:
    enabled: true
    auto_planning:
      enabled: true
      labels: []
  labeling:
    labeling_instructions: []
    auto_apply_labels: false

@github-actions

This comment has been minimized.

@bernhardmgruber
bernhardmgruber enabled auto-merge (squash) May 5, 2026 19:46
@github-actions

This comment has been minimized.

@bernhardmgruber
bernhardmgruber requested a review from a team as a code owner May 6, 2026 11:42
@bernhardmgruber
bernhardmgruber requested a review from alliepiper May 6, 2026 11:42
@github-actions

github-actions Bot commented May 6, 2026

Copy link
Copy Markdown
Contributor

🥳 CI Workflow Results

🟩 Finished in 2h 24m: Pass: 100%/333 | Total: 14d 02h | Max: 2h 24m | Hits: 68%/311715

See results here.

@bernhardmgruber
bernhardmgruber merged commit 9141608 into NVIDIA:main May 6, 2026
351 checks passed
@github-project-automation github-project-automation Bot moved this from In Review to Done in CCCL May 6, 2026
@bernhardmgruber
bernhardmgruber deleted the use_scan_public branch May 6, 2026 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Use the new tuning API internally for detail::scan::dispatch

5 participants