Skip to content

Conversation

@dyniols
Copy link
Contributor

@dyniols dyniols commented Aug 21, 2025

This PR fixes issue when g++ is used as host compiler and its version does not support C++17 by default.
So by adding this flag -fsycl-host-compiler-options="-std=c++17" we ensure that the lit test is compiled with C++17 standard which is required by SYCL.

@dyniols dyniols marked this pull request as ready for review August 21, 2025 17:05
@dyniols dyniols requested a review from a team as a code owner August 21, 2025 17:05
@dyniols dyniols requested a review from steffenlarsen August 21, 2025 17:05
@dyniols
Copy link
Contributor Author

dyniols commented Aug 21, 2025

The issue was reported in ticket: CMPLRTST-27724

@dyniols
Copy link
Contributor Author

dyniols commented Aug 22, 2025

I guess this failure isn't unrelated because my patch changes test behaviour but failure is related to other test SYCL :: Reduction/reduction_internal_nd_range_1dim.cpp

@dyniols
Copy link
Contributor Author

dyniols commented Aug 25, 2025

Ok, all pre-commit tests finally passed. Can we merge it?
@intel/llvm-gatekeepers

@AlexeySachkov AlexeySachkov merged commit 954cc7b into intel:sycl Aug 25, 2025
57 of 61 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