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

Refactor compressed_reference_idx, fix relative index bug #453

Merged
merged 6 commits into from
Oct 19, 2024

Conversation

scottstanie
Copy link
Collaborator

Subtracting the first_real_slc_idx was not correct: The stack planner would put 0 as the compressed index for all ministacks.
Considering the 2nd ministack, if the output_reference_idx was 0, then compressed_reference_idx would be 0. Then we were slicing away the compressed, but also subtracting the number of compressed. The led to neagtive indexes.

Subtracting the `first_real_slc_idx` was not correct:
The stack planner would put 0 as the compressed index
for all ministacks.
Considering the 2nd ministack, if the `output_reference_idx`
was 0, then `compressed_reference_idx` would be 0. Then we
were slicing away the compressed, but also subtracting the
number of compressed. The led to *neagtive indexes*.
@scottstanie scottstanie changed the title Fix relative compressed reference index Refactor compressed_reference_idx, fix relative index bug Oct 18, 2024
@scottstanie scottstanie marked this pull request as ready for review October 19, 2024 01:54
@scottstanie scottstanie merged commit c1eb386 into isce-framework:main Oct 19, 2024
5 checks passed
@scottstanie scottstanie deleted the fix-compressed-indexes branch October 19, 2024 01:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant