Skip to content

[SYCL] Fix min and max builtins on Windows #8752

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 23, 2023

Conversation

steffenlarsen
Copy link
Contributor

Tests for min and max builtins fail on Windows with recent changes. This is due to these being defined as macros, causing their use inside the generators to fail. This commit fixes this by enclosing them in parentheses.

Fixes #8717.

Tests for min and max builtins fail on Windows with recent changes. This
is due to these being defined as macros, causing their use inside the
generators to fail. This commit fixes this by enclosing them in
parentheses.

Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
@steffenlarsen steffenlarsen requested a review from a team as a code owner March 23, 2023 13:32
@steffenlarsen
Copy link
Contributor Author

/testwin

@steffenlarsen steffenlarsen temporarily deployed to aws March 23, 2023 14:06 — with GitHub Actions Inactive
@steffenlarsen
Copy link
Contributor Author

Windows Failed Tests (1):
SYCL-Unit :: SYCL2020/./SYCL2020Tests.exe/10/11
Fixed by #8749

@steffenlarsen steffenlarsen temporarily deployed to aws March 23, 2023 15:05 — with GitHub Actions Inactive
@bader bader merged commit d871541 into intel:sycl Mar 23, 2023
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.

[SYCL][LIT] Failure in SYCL::basic_tests/min_max_test.cpp on Windows
3 participants