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

feat: configurable maximum number of bins in SP grid #2325

Merged
merged 8 commits into from
Aug 10, 2023

Conversation

LuisFelipeCoelho
Copy link
Member

@LuisFelipeCoelho LuisFelipeCoelho commented Jul 27, 2023

Protection for large number of bins which is set by default to std::numeric_limits<int>::max()

This comes from PR #2166, I am splitting the changes into smaller PRs.
@CarloVarni

@github-actions github-actions bot added Component - Core Affects the Core module Component - Examples Affects the Examples module Seeding labels Jul 27, 2023
@codecov
Copy link

codecov bot commented Jul 27, 2023

Codecov Report

Merging #2325 (4a95ff9) into main (10b40b7) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #2325      +/-   ##
==========================================
- Coverage   49.64%   49.63%   -0.01%     
==========================================
  Files         453      453              
  Lines       25538    25540       +2     
  Branches    11708    11709       +1     
==========================================
  Hits        12678    12678              
- Misses       4578     4580       +2     
  Partials     8282     8282              
Files Changed Coverage Δ
Core/include/Acts/Seeding/SpacePointGrid.ipp 0.00% <0.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Member

@paulgessinger paulgessinger left a comment

Choose a reason for hiding this comment

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

Looks good overall, only spotted one inconsistency with the (now changed) default of 300. I don't have a strong opinion on the default. I guess infinite is a bit dangerous since you could potentially try to allocate infinite memory that way, although I suppose it's bounded by the event activity.

I'd probably pick a "large but not infinite" number, like mayb 10k or so and then mention that in the comment.

Up to you @LuisFelipeCoelho.

Core/include/Acts/Seeding/SpacePointGrid.ipp Outdated Show resolved Hide resolved
@paulgessinger paulgessinger added this to the next milestone Aug 9, 2023
@paulgessinger
Copy link
Member

Somehow the clang-tidy job seems to get stuck repeatedly, in that it's result isn't posted back here. It's only that job it seems though, which is weird.

@paulgessinger paulgessinger merged commit e9977db into acts-project:main Aug 10, 2023
@acts-project-service acts-project-service added Breaks Athena build This PR breaks the Athena build Fails Athena tests This PR causes a failure in the Athena tests labels Aug 10, 2023
@paulgessinger
Copy link
Member

Failure is unrelated to us.

@paulgessinger paulgessinger removed Breaks Athena build This PR breaks the Athena build Fails Athena tests This PR causes a failure in the Athena tests labels Aug 10, 2023
@paulgessinger paulgessinger removed this from the next milestone Aug 17, 2023
@paulgessinger paulgessinger added this to the v28.2.0 milestone Aug 17, 2023
@LuisFelipeCoelho LuisFelipeCoelho deleted the max-phiBin branch October 27, 2023 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component - Core Affects the Core module Component - Examples Affects the Examples module Seeding
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants