Commit dfeb3b4
committed
[gpu] fix windows SEH exception issue
### Details:
- Updated `create_data` to use the actual data size calculated from the original element type and shape for `u16`/`i16` types, ensuring `memcpy` only reads the valid memory region.
### Tickets:
- *CVS-172561*
Signed-off-by: zhanmyz <[email protected]>1 parent fab9a56 commit dfeb3b4
1 file changed
+17
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
127 | 144 | | |
128 | 145 | | |
129 | 146 | | |
| |||
0 commit comments