Skip to content

Conversation

@mateuszpn
Copy link
Contributor

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.

@mateuszpn
Copy link
Contributor Author

@intel/llvm-gatekeepers, please consider merging this. PR fixes a single end-to-end test, but in CI, completely unrelated tests fail.

@steffenlarsen
Copy link
Contributor

Failures:

Windows Gen12 - SYCL :: Graph/RecordReplay/host_task_in_order_dependency.cpp - #20826
Windows BMG - SYCL :: Basic/parallel_for_range_roundup.cpp - #20827
Linux NativeCPU - SYCL :: Basic/multi_context_wait.cpp - #20828

@steffenlarsen steffenlarsen merged commit f5c33b1 into intel:sycl Dec 4, 2025
25 of 28 checks passed
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.

3 participants