Skip to content

feat(autoware_camera_streampetr): cuda 12.0 build compatibility#12181

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

feat(autoware_camera_streampetr): cuda 12.0 build compatibility#12181
amadeuszsz wants to merge 2 commits intoautowarefoundation:mainfrom
amadeuszsz:feat/autoware_camera_streampetr-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>
@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:

@github-actions github-actions bot added the component:perception Advanced sensor data processing and environment understanding. (auto-assigned) label Feb 26, 2026
@amadeuszsz amadeuszsz changed the title feat(autoware_camera_streampetr): CUDA 12.0+ build compatibility feat(autoware_camera_streampetr): CUDA 12.0 build compatibility Feb 26, 2026
@amadeuszsz amadeuszsz changed the title feat(autoware_camera_streampetr): CUDA 12.0 build compatibility feat(autoware_camera_streampetr): 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.12%. Comparing base (898718b) to head (92f78fc).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #12181      +/-   ##
==========================================
- Coverage   18.13%   18.12%   -0.02%     
==========================================
  Files        1841     1842       +1     
  Lines      126705   126820     +115     
  Branches    44507    44634     +127     
==========================================
  Hits        22983    22983              
- Misses      84556    84671     +115     
  Partials    19166    19166              
Flag Coverage Δ *Carryforward flag
daily 20.63% <ø> (+<0.01%) ⬆️ Carriedforward from 898718b
daily-cuda 18.14% <ø> (+<0.01%) ⬆️ Carriedforward from 898718b
differential-cuda 0.00% <ø> (?)
total-cuda 18.13% <ø> (+<0.01%) ⬆️ Carriedforward from 898718b

*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