File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
dpnp/backend/kernels/elementwise_functions Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change 2525
2626#pragma once
2727
28- #define SYCL_EXT_ONEAPI_COMPLEX
29- #if __has_include(<sycl/ext/oneapi/experimental/sycl_complex.hpp>)
30- #include < sycl/ext/oneapi/experimental/sycl_complex.hpp>
31- #else
32- #include < sycl/ext/oneapi/experimental/complex/complex.hpp>
33- #endif
28+ #include < cmath>
29+ #include < complex>
30+ #include < limits>
31+ #include < type_traits>
3432
3533#include < sycl/sycl.hpp>
3634
3735// dpctl tensor headers
36+ #include " kernels/elementwise_functions/sycl_complex.hpp"
3837#include " utils/type_utils.hpp"
3938
4039namespace dpnp ::kernels::sinc
@@ -43,8 +42,6 @@ namespace tu_ns = dpctl::tensor::type_utils;
4342
4443namespace impl
4544{
46- namespace exprm_ns = sycl::ext::oneapi::experimental;
47-
4845template <typename Tp>
4946inline Tp sin (const Tp &in)
5047{
You can’t perform that action at this time.
0 commit comments