Commit 3e6c0d2
committed
Fix access violation in occupancy queries with uninitialized hStream
Zero-initialize CUlaunchConfig struct to prevent garbage values in
hStream field when no stream is provided. The driver dereferences
hStream even when querying occupancy, causing access violations on
some platforms (observed on Windows with RTX Pro 6000).1 parent f569e6c commit 3e6c0d2
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
139 | 141 | | |
140 | 142 | | |
141 | 143 | | |
142 | | - | |
143 | 144 | | |
144 | 145 | | |
| 146 | + | |
145 | 147 | | |
146 | 148 | | |
147 | 149 | | |
| |||
0 commit comments