Skip to content

feat(autoware_tensorrt_vad): cuda 12.0 build compatibility#12179

Open
amadeuszsz wants to merge 3 commits intoautowarefoundation:mainfrom
amadeuszsz:feat/autoware_tensorrt_vad-cuda-cmake-comp
Open

feat(autoware_tensorrt_vad): cuda 12.0 build compatibility#12179
amadeuszsz wants to merge 3 commits intoautowarefoundation:mainfrom
amadeuszsz:feat/autoware_tensorrt_vad-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
@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_tensorrt_vad): CUDA 12.0+ build compatibility feat(autoware_tensorrt_vad): CUDA 12.0 build compatibility Feb 26, 2026
@amadeuszsz amadeuszsz changed the title feat(autoware_tensorrt_vad): CUDA 12.0 build compatibility feat(autoware_tensorrt_vad): cuda 12.0 build compatibility Feb 26, 2026
Copy link
Contributor

@Max-Bin Max-Bin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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

Labels

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.

2 participants