You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was originally PR #946 ; moving this to merge into StiberDevelopment rather than SharedDevelopment. The goal is to refactor the NG911 data structures to match the "struct of arrays" approach of Graphitti that makes CPU code parallel to GPU code.
Here are some comments from Gemini; I need to look through this code and run tests on the INL research machines to evaluate these changes:
Based on code analysis of branch issue-862-sperate-call-struts-vector-in-911-simulations (PR #946) against SharedDevelopment, the following conclusions can be drawn regarding the test failures:
The overwrite was removed, fixing the countdown logic to properly reflect driving time plus on-site time.
Consequence for Regression Tests
The reference benchmark file Testing/RegressionTesting/GoodOutput/Cpu/test-small-911-out.xml was generated with the older uncorrected countdown behavior. Because the simulation timeline changes with the corrected countdown:
./cgraphitti -c .../test-small-911.xml produces output matrices reflecting the corrected timeline.
compare_matrices detects numerical/event differences against the old GoodOutput/Cpu/test-small-911-out.xml.
compare_matrices exits with a non-zero status, failing the regression test suite.
3. Unit Test Status
The unit test binary (make tests && ./tests) includes the new test suite TEST_F(InputManagerFixture, getEpochEventsCallCircularBuffer). The unit test logic matches the CallCircularBuffer implementation and is expected to pass independently.
4. Summary & Resolution Plan
Unit Tests: Pass without issues.
Non-911 Regression Tests (9 suites): Untouched by these changes and expected to pass.
911 Regression Test (test-small-911): Fails strictly because the bug fix alters simulation output relative to the outdated GoodOutput reference.
Resolution: Once verified on Linux, test-small-911-out.xml under Testing/RegressionTesting/GoodOutput/Cpu/ must be regenerated to establish the new reference output for NG911 simulations.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NG911refactordoesn't change functionality, just improves code
1 participant
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #862
Description
This was originally PR #946 ; moving this to merge into
StiberDevelopmentrather thanSharedDevelopment. The goal is to refactor the NG911 data structures to match the "struct of arrays" approach of Graphitti that makes CPU code parallel to GPU code.Checklist (Mandatory for new features)
Testing (Mandatory for all changes)
test-medium-connected.xmlPassedtest-large-long.xmlPassed