Skip to content

Conversation

@bader
Copy link
Contributor

@bader bader commented Dec 13, 2025

Current implementation of marray default constructor uses
list-initialization to initialize elements, which leads to
"value-initalization" of each element instead of default-initialization
required by the SYCL specification.

The fix caught a few places in the tests where marray is used in the
constexpr context without initialization.

Current implementation of marray default constructor uses
list-initialization to initialize elements, which leads to
"value-initalization" of each element instead of default-initialization
required by the SYCL specification.

The fix caught a few places in the tests where marray is used in the
constexpr context without initialization.
@bader bader requested a review from a team as a code owner December 13, 2025 05:40
@bader bader requested a review from turinevgeny December 13, 2025 05:41
@bader bader changed the title [SYCL] Use compiler's implementaton for default marray constructor [SYCL] Use compiler's implementation for default marray constructor Dec 13, 2025
Default marray constructor does not zero initializes int32_t type elements.
@bader bader requested a review from a team as a code owner December 13, 2025 06:23
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.

1 participant