Skip to content

Guard rasterization against int32 intersection overflow#11

Open
jiagaoxiang wants to merge 1 commit into
release/1.5.3b2from
douglas/int32-overflow-guard-release153b2
Open

Guard rasterization against int32 intersection overflow#11
jiagaoxiang wants to merge 1 commit into
release/1.5.3b2from
douglas/int32-overflow-guard-release153b2

Conversation

@jiagaoxiang

Copy link
Copy Markdown

Summary

  • Add host-side validation in rasterization entrypoints to reject intersection buffers that exceed int32 indexing limits before kernel launch.
  • Return a clear runtime error instead of allowing int32 overflow to trigger GPU memory access faults.
  • Document the failure signature, root cause, mitigation, and 64-bit functional-fix path in a dedicated how-to doc.

Test plan

  • Reproduce the crash with synth_rast_bwd_test.py on ROCm.
  • Validate patched gsplat raises RuntimeError guard instead of GPU memory fault.
  • Confirm PR diff vs release/1.5.3b2 contains only the guard and docs updates.

Made with Cursor

Add launch-time checks that reject intersection buffers beyond int32 limits to prevent ROCm VM-fault crashes, and document the detailed root cause plus a 64-bit functional fix path for the team.

Made-with: Cursor
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