Skip to content

[SYCL][ESIMD][NFC] Replace the uses of std::max in ESIMD with ternary op #11847

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
Nov 10, 2023

Conversation

v-klochkov
Copy link
Contributor

Even though std::max is completely legal/correct to use in SYCL/ESIMD especially in 'constexpr' context, it may cause problems on Windows in some non-trivial configurations with some odd order of includes of system and SYCL header files.

Even though std::max is completely legal/correct to use in SYCL/ESIMD
especially in 'constexpr' context, it may cause problems on Windows in
some non-trivial configurations with some odd order of includes of
system and SYCL header files.

Signed-off-by: Klochkov, Vyacheslav N <[email protected]>
@v-klochkov v-klochkov requested a review from a team as a code owner November 9, 2023 20:23
@againull againull changed the title [ESIMD][NFC] Replace the uses of std::max in ESIMD with ternary op [SYCL][ESIMD][NFC] Replace the uses of std::max in ESIMD with ternary op Nov 10, 2023
@againull againull merged commit 24ea162 into intel:sycl Nov 10, 2023
@v-klochkov v-klochkov deleted the esimd_eliminate_minmax branch November 10, 2023 00:40
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