Skip to content

Commit 65049e6

Browse files
committed
remove sycl.hpp
Signed-off-by: Sidorov, Dmitry <[email protected]>
1 parent 4a5678f commit 65049e6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sycl/test-e2e/DeviceLib/built-ins/offload-prec-div-sqrt.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
// -foffload-fp32-prec-div -foffload-fp32-prec-sqrt are passed.
66

77
#include <cmath>
8-
#include <sycl/ext/oneapi/experimental/builtins.hpp>
9-
#include <sycl/sycl.hpp>
8+
#include <sycl/detail/core.hpp>
9+
#include <sycl/usm.hpp>
1010

1111
constexpr float value = 560.0f;
1212
constexpr float divider = 280.0f;
@@ -25,7 +25,7 @@ template <typename T> int ulp_difference(const T &lhs, const T &rhs) {
2525
}
2626

2727
void test_div() {
28-
sycl::queue q(sycl::default_selector_v, sycl::property::queue::in_order());
28+
sycl::queue q(sycl::default_selector_v);
2929
float *in_value = (float *)sycl::malloc_shared(sizeof(float), q);
3030
float *in_divider = (float *)sycl::malloc_shared(sizeof(float), q);
3131
float *output = (float *)sycl::malloc_shared(sizeof(float), q);
@@ -44,7 +44,7 @@ void test_div() {
4444
}
4545

4646
void test_sqrt() {
47-
sycl::queue q(sycl::default_selector_v, sycl::property::queue::in_order());
47+
sycl::queue q(sycl::default_selector_v);
4848
float *in_value = (float *)sycl::malloc_shared(sizeof(float), q);
4949
float *output = (float *)sycl::malloc_shared(sizeof(float), q);
5050
*in_value = value;

0 commit comments

Comments
 (0)