Skip to content
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

[SYCL] Remove experimental/builtins.hpp from sycl.hpp due to C++17 #6386

Merged
merged 3 commits into from
Jul 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion sycl/include/CL/sycl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
#include <sycl/ext/oneapi/backend/level_zero.hpp>
#endif
#include <sycl/ext/oneapi/device_global/properties.hpp>
#include <sycl/ext/oneapi/experimental/builtins.hpp>
#include <sycl/ext/oneapi/experimental/cuda/barrier.hpp>
#include <sycl/ext/oneapi/filter_selector.hpp>
#include <sycl/ext/oneapi/group_algorithm.hpp>
Expand Down
3 changes: 2 additions & 1 deletion sycl/test/basic_tests/built-ins.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
// Hits an assertion with AMD:
// XFAIL: hip_amd

#include <CL/sycl.hpp>
#include <sycl/ext/oneapi/experimental/builtins.hpp>
#include <sycl/sycl.hpp>

#include <cassert>

Expand Down
3 changes: 2 additions & 1 deletion sycl/test/extensions/experimental-printf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
// CHECK: Constant [[#TYPE]] [[#CONST:]]
// CHECK: ExtInst [[#]] [[#]] [[#]] printf [[#]] [[#CONST]]

#include <CL/sycl.hpp>
#include <sycl/ext/oneapi/experimental/builtins.hpp>
#include <sycl/sycl.hpp>

#ifdef __SYCL_DEVICE_ONLY__
#define __SYCL_CONSTANT_AS __attribute__((opencl_constant))
Expand Down