Commit f5c33b1
authored
[SYCL][e2e] Fix buffer.cpp test (#20785)
Vector after reserve without resize has still size 0, and accessing its
memory beyond size is undefined behavior.
The test failed on integrated gpu (l0v2 adapter, ARL cpu), this PR fixes
it.
Signed-off-by: Mateusz P. Nowak <[email protected]>1 parent 894db96 commit f5c33b1
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
518 | | - | |
519 | | - | |
520 | | - | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
521 | 521 | | |
522 | 522 | | |
523 | 523 | | |
| |||
0 commit comments