Skip to content

Conversation

@cdai2
Copy link
Contributor

@cdai2 cdai2 commented Jan 5, 2026

With default optimization build, the two loops in kernel code will be optimized out because the "sum" variable is not really used and this leads to the assert failure.

Change it to volatile to fix this problem.

With default optimization build, the two loops in kernel
code will be optimized out because the "sum" variable is
not really used and this leads to the assert failure.

Change it to volatile to fix this problem.
@cdai2 cdai2 requested a review from a team as a code owner January 5, 2026 07:56
@cdai2 cdai2 requested a review from againull January 5, 2026 07:56
@cdai2 cdai2 temporarily deployed to WindowsCILock January 5, 2026 07:57 — with GitHub Actions Inactive
@cdai2 cdai2 temporarily deployed to WindowsCILock January 5, 2026 08:19 — with GitHub Actions Inactive
@cdai2 cdai2 temporarily deployed to WindowsCILock January 5, 2026 08:19 — with GitHub Actions Inactive
@cdai2 cdai2 temporarily deployed to WindowsCILock January 5, 2026 08:19 — with GitHub Actions Inactive
@againull
Copy link
Contributor

againull commented Jan 5, 2026

Failures unrelated.

@againull againull merged commit 2d512be into intel:sycl Jan 5, 2026
26 of 29 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