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

Output diagnostic information about core sizes #1591

Merged
merged 8 commits into from
Jan 24, 2025

Conversation

sethrj
Copy link
Member

@sethrj sethrj commented Jan 23, 2025

Based on the mess in #1577 and discussions in #1562 , we really need a definitive diagnostic about the state sizes.

The gotcha is that the number of states isn't previously known to the core params (it's passed on constructing the stepper or core state). With #1556 we want to transition to more tightly integrating the params and state, so for now I'm adding an optional "state size" to the params that can be used to create the core state. For now this state size is set by the apps (where we care about the diagnostic) but not the unit tests (which often reuse the same core params with different stepper sizes).

@sethrj sethrj added enhancement New feature or request app Application front ends labels Jan 23, 2025
@sethrj sethrj requested a review from amandalund January 23, 2025 21:55
Copy link

github-actions bot commented Jan 23, 2025

Test summary

 4 478 files   6 904 suites   15m 26s ⏱️
 1 692 tests  1 686 ✅  6 💤 0 ❌
24 212 runs  24 128 ✅ 84 💤 0 ❌

Results for commit c17d71d.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@amandalund amandalund left a comment

Choose a reason for hiding this comment

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

Good idea, thanks @sethrj!

@sethrj sethrj enabled auto-merge (squash) January 24, 2025 15:31
@sethrj sethrj merged commit 29931ad into celeritas-project:develop Jan 24, 2025
36 checks passed
sethrj added a commit that referenced this pull request Jan 27, 2025
* Add an optional parameter for setting state size via params
* Write out core sizes to JSON
* Add and fix docs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app Application front ends enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants