mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #4152] [Engine] prefill: check both f16-range symbol writes on the reset path #4924
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#4924
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/4152
Author: @ken2425pm
Created: 10/25/2026
Status: 🔄 Open
Base:
main← Head:fix-f16-reset📝 Commits (1)
0576803prefill: check both f16-range symbol writes on the reset path📊 Changes
1 file changed (+5 additions, -1 deletions)
View changed files
📝
src/prefill/kernels.cu(+5 -1)📄 Description
Replaces the same-numbered closed PR (0.2.0-beta tracker reset; its /reopen check passed but GitHub would not reopen the closed PR after the branch update - new PR per the check bot's guidance).
Problem and result:
f16_range_read(reset=true)fired the twocudaMemcpyToSymbolwrites and never looked at the result. If one failed, the symbol kept its old value and the next read reported a stale cumulative count with nothing saying the reset did not happen. After the change both writes always run and both results are checked; failure is reported.Related discussion: none found beyond the closed #3079 of the same content (0.2.0-beta tracker reset); reopened per that note.
Approach: evaluate both writes into locals — a failed first write must not skip the second — then check both and report failure. Unchanged when both succeed: still exactly two symbol writes and one error check, and the reads are untouched.
Validation:
Limits: none known.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.