Skip to content

Comments

Set C++17 when generating SYCL programs#211

Merged
aneshlya merged 1 commit intointel:mainfrom
AlexeySachkov:private/asachkov/set-c++17-for-sycl
Jul 9, 2025
Merged

Set C++17 when generating SYCL programs#211
aneshlya merged 1 commit intointel:mainfrom
AlexeySachkov:private/asachkov/set-c++17-for-sycl

Conversation

@AlexeySachkov
Copy link
Contributor

Intel's SYCL implementation requires C++17 and this is baked by the SYCL 2020 specification, see:

  • 3.9.1. Minimum version of C++ 1
  • 3.3. Normative references 2

Without this tweak, generated makefiles are not suitable for building SYCL programs with intel/llvm.

Intel's SYCL implementation requires C++17 and this is baked by the SYCL
2020 specification, see:
- 3.9.1. Minimum version of C++ [1]
- 3.3. Normative references [2]

[1]: https://registry.khronos.org/SYCL/specs/sycl-2020/html/sycl-2020.html#sec:progmodel.minimumcppversion
[2]: https://registry.khronos.org/SYCL/specs/sycl-2020/html/sycl-2020.html#sec:normativerefs

Without this tweak, generated makefiles are not suitable for building
SYCL programs with intel/llvm.

Signed-off-by: Alexey Sachkov <alexey.sachkov@intel.com>
Copy link
Contributor

@aneshlya aneshlya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@aneshlya aneshlya merged commit a62446a into intel:main Jul 9, 2025
3 checks passed
@AlexeySachkov AlexeySachkov deleted the private/asachkov/set-c++17-for-sycl branch July 9, 2025 19:15
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.

2 participants