Repository navigation
Fix access to uninitialized memory compute-sanitizer flagged issues - #12098
Conversation
Closes NVIDIA#12097. Initilize block_size device vector with zero for correctness of subsequent atomicMax updates on that memory. Also avoid copying uninitialized device memory and discarding it away, avoid accessing it to begin with.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Summary
Priority: ⬇️ Low Change: Bug fix · Severity of issue fixed: Low Merge Risk: ⚪ Minimal · up to
|
🥳 CI Workflow Results🟩 Finished in 5h 11m: Pass: 100%/137 | Total: 12d 19h | Max: 3h 47m | Hits: 17%/679882See results here. AI failure analysis1. MatX PrintTests: GCC 14 ignored-attributes warning treated as error · 1 jobExplanation: The MatX `PrintTests.cu` compilation emits GCC's `-Wignored-attributes` diagnostic, and MatX's warning-as-error policy makes it fatal. The workflow cloned MatX `main` at commit `b88d2f9698df816119ebc9f596c2d4b909312a60`; the PR changes only a CUB set-operations test and do not touch the failing source or MatX configuration. Evidence: Copy this prompt into a coding agentJobs: |
Initilize block_size device vector with zero for correctness of subsequent atomicMax updates on that memory.
Also avoid copying uninitialized device memory and discarding it away, avoid accessing it to begin with.
Description
closes #12097
Checklist