Skip to content

feat(autoware_bevfusion): cuda 12.0 build compatibility#12180

Open
amadeuszsz wants to merge 2 commits intoautowarefoundation:mainfrom
amadeuszsz:feat/autoware_bevfusion-cuda-cmake-comp
Open

feat(autoware_bevfusion): cuda 12.0 build compatibility#12180
amadeuszsz wants to merge 2 commits intoautowarefoundation:mainfrom
amadeuszsz:feat/autoware_bevfusion-cuda-cmake-comp

Conversation

@amadeuszsz
Copy link
Contributor

Description

Latest PR related to NVCC flags aligned compatibility with minimum required version for Autoware. However, downstream projects may use custom CI/CD pipeline or local builds, where CUDA version is below 12.8. This PR adjust flags and make build possible for pipelines with CUDA 12.0+.

Resulting flags for:

  • CUDA 12.0 - 12.7: sm_86, sm_87, sm_89, compute_89
  • CUDA 12.8 - 12.9: sm_86, sm_87, sm_89, sm_101, sm_120, compute_120
  • CUDA 13.0+: sm_86, sm_87, sm_89, sm_110, sm_120, compute_120

Related links

Parent Issue:

autowarefoundation/autoware#6789

How was this PR tested?

Notes for reviewers

Even though this modification keeps flags compatible with user's CUDA version, we can't assure compatibility with CUDA < 12.8 for any incoming features since Autoware is developed under CUDA 12.8 environment.

Interface changes

None.

Effects on system behavior

None.

Signed-off-by: Amadeusz Szymko <amadeusz.szymko.2@tier4.jp>
@amadeuszsz amadeuszsz self-assigned this Feb 26, 2026
@amadeuszsz amadeuszsz added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Feb 26, 2026
@amadeuszsz amadeuszsz requested a review from knzo25 as a code owner February 26, 2026 02:22
@github-actions github-actions bot added the component:perception Advanced sensor data processing and environment understanding. (auto-assigned) label Feb 26, 2026
@github-actions
Copy link

github-actions bot commented Feb 26, 2026

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

@amadeuszsz amadeuszsz changed the title feat(autoware_bevfusion): CUDA 12.0+ build compatibility feat(autoware_bevfusion): CUDA 12.0 build compatibility Feb 26, 2026
@amadeuszsz amadeuszsz changed the title feat(autoware_bevfusion): CUDA 12.0 build compatibility feat(autoware_bevfusion): cuda 12.0 build compatibility Feb 26, 2026
@codecov
Copy link

codecov bot commented Feb 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 18.60%. Comparing base (898718b) to head (b73f9f8).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #12180      +/-   ##
==========================================
+ Coverage   18.13%   18.60%   +0.46%     
==========================================
  Files        1841     1871      +30     
  Lines      126705   127759    +1054     
  Branches    44507    47030    +2523     
==========================================
+ Hits        22983    23771     +788     
- Misses      84556    85366     +810     
+ Partials    19166    18622     -544     
Flag Coverage Δ *Carryforward flag
daily 20.63% <ø> (+<0.01%) ⬆️ Carriedforward from d6b10f4
daily-cuda 18.14% <ø> (+<0.01%) ⬆️ Carriedforward from d6b10f4
differential 2.21% <ø> (?)
differential-cuda 0.00% <ø> (?)
total-cuda 18.13% <ø> (+<0.01%) ⬆️ Carriedforward from d6b10f4

*This pull request uses carry forward flags. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component:perception Advanced sensor data processing and environment understanding. (auto-assigned) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) tag:require-cuda-build-and-test

Projects

Status: To Triage

Development

Successfully merging this pull request may close these issues.

1 participant