Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(autoware_lidar_centerpoint): place device vector in CUDA device system #8272

Conversation

amadeuszsz
Copy link
Contributor

Description

CUDA 12.5 makes device vectors works with CUDA target only by default. Before this PR it works, but it shouldn't. As maintainer says no Thrust header can be included in a host-only TU.

Related links

Parent Issue:

How was this PR tested?

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

…ystem

Signed-off-by: amadeuszsz <amadeusz.szymko.2@tier4.jp>
@github-actions github-actions bot added the component:perception Advanced sensor data processing and environment understanding. (auto-assigned) label Jul 31, 2024
Copy link

Thank you for contributing to the Autoware project!

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

Please ensure:

@amadeuszsz amadeuszsz self-assigned this Jul 31, 2024
@amadeuszsz amadeuszsz added the tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Jul 31, 2024
Copy link

codecov bot commented Jul 31, 2024

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 29.18%. Comparing base (3d849e9) to head (aa2664e).
Report is 943 commits behind head on main.

Files Patch % Lines
..._centerpoint/lib/postprocess/postprocess_kernel.cu 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #8272       +/-   ##
===========================================
+ Coverage   15.09%   29.18%   +14.09%     
===========================================
  Files        1967     1602      -365     
  Lines      135941   117583    -18358     
  Branches    42122    50674     +8552     
===========================================
+ Hits        20520    34318    +13798     
+ Misses      92700    74082    -18618     
+ Partials    22721     9183    -13538     
Flag Coverage Δ *Carryforward flag
differential 8.79% <0.00%> (?)
total 29.18% <ø> (+14.09%) ⬆️ Carriedforward from 5093495

*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.

Copy link
Contributor

@knzo25 knzo25 left a comment

Choose a reason for hiding this comment

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

LGTM !

@amadeuszsz amadeuszsz merged commit 983c90c into autowarefoundation:main Aug 1, 2024
38 of 39 checks passed
kyoichi-sugahara pushed a commit to kyoichi-sugahara/autoware.universe that referenced this pull request Aug 5, 2024
…ystem (autowarefoundation#8272)

Signed-off-by: amadeuszsz <amadeusz.szymko.2@tier4.jp>
esteve pushed a commit to esteve/autoware.universe that referenced this pull request Aug 13, 2024
…ystem (autowarefoundation#8272)

Signed-off-by: amadeuszsz <amadeusz.szymko.2@tier4.jp>
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) tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants