|
21 | 21 | #include <sycl/detail/pi.h> |
22 | 22 | #include <sycl/detail/pi.hpp> |
23 | 23 | #include <sycl/detail/reduction_forward.hpp> |
24 | | -#ifdef __INTEL_PREVIEW_BREAKING_CHANGES |
25 | 24 | #include <sycl/detail/string.hpp> |
26 | 25 | #include <sycl/detail/string_view.hpp> |
27 | | -#endif |
28 | 26 | #include <sycl/device.hpp> |
29 | 27 | #include <sycl/event.hpp> |
30 | 28 | #include <sycl/exception.hpp> |
@@ -422,11 +420,6 @@ template <int Dims> bool range_size_fits_in_size_t(const range<Dims> &r) { |
422 | 420 | } |
423 | 421 | return true; |
424 | 422 | } |
425 | | -#ifndef __INTEL_PREVIEW_BREAKING_CHANGES |
426 | | -using string = std::string; |
427 | | -using string_view = std::string; |
428 | | -#endif |
429 | | - |
430 | 423 | } // namespace detail |
431 | 424 |
|
432 | 425 | /// Command group handler class. |
@@ -872,14 +865,10 @@ class __SYCL_EXPORT handler { |
872 | 865 | /// |
873 | 866 | /// \param KernelName is the name of the SYCL kernel to check that the used |
874 | 867 | /// kernel bundle contains. |
875 | | -#ifdef __INTEL_PREVIEW_BREAKING_CHANGES |
876 | 868 | void verifyUsedKernelBundle(const std::string &KernelName) { |
877 | 869 | verifyUsedKernelBundleInternal(detail::string_view{KernelName}); |
878 | 870 | } |
879 | 871 | void verifyUsedKernelBundleInternal(detail::string_view KernelName); |
880 | | -#else |
881 | | - void verifyUsedKernelBundle(const std::string &KernelName); |
882 | | -#endif |
883 | 872 |
|
884 | 873 | /// Stores lambda to the template-free object |
885 | 874 | /// |
@@ -3414,35 +3403,25 @@ class __SYCL_EXPORT handler { |
3414 | 3403 | /// expr m_Storage member |
3415 | 3404 | /// \param Size the size of data getting read back / to. |
3416 | 3405 | /// \param Block if read operation is blocking, default to false. |
3417 | | -#ifdef __INTEL_PREVIEW_BREAKING_CHANGES |
3418 | 3406 | void ext_intel_read_host_pipe(const std::string &Name, void *Ptr, size_t Size, |
3419 | 3407 | bool Block = false) { |
3420 | 3408 | ext_intel_read_host_pipe(detail::string_view(Name), Ptr, Size, Block); |
3421 | 3409 | } |
3422 | 3410 | void ext_intel_read_host_pipe(detail::string_view Name, void *Ptr, |
3423 | 3411 | size_t Size, bool Block = false); |
3424 | | -#else |
3425 | | - void ext_intel_read_host_pipe(const std::string &Name, void *Ptr, size_t Size, |
3426 | | - bool Block = false); |
3427 | | -#endif |
3428 | 3412 |
|
3429 | 3413 | /// Write to host pipes given a host address and |
3430 | 3414 | /// \param Name name of the host pipe to be passed into lower level runtime |
3431 | 3415 | /// \param Ptr host pointer of host pipe as identified by address of its const |
3432 | 3416 | /// expr m_Storage member |
3433 | 3417 | /// \param Size the size of data getting read back / to. |
3434 | 3418 | /// \param Block if write opeartion is blocking, default to false. |
3435 | | -#ifdef __INTEL_PREVIEW_BREAKING_CHANGES |
3436 | 3419 | void ext_intel_write_host_pipe(const std::string &Name, void *Ptr, |
3437 | 3420 | size_t Size, bool Block = false) { |
3438 | 3421 | ext_intel_write_host_pipe(detail::string_view(Name), Ptr, Size, Block); |
3439 | 3422 | } |
3440 | 3423 | void ext_intel_write_host_pipe(detail::string_view Name, void *Ptr, |
3441 | 3424 | size_t Size, bool Block = false); |
3442 | | -#else |
3443 | | - void ext_intel_write_host_pipe(const std::string &Name, void *Ptr, |
3444 | | - size_t Size, bool Block = false); |
3445 | | -#endif |
3446 | 3425 | friend class ext::oneapi::experimental::detail::graph_impl; |
3447 | 3426 | friend class ext::oneapi::experimental::detail::dynamic_parameter_impl; |
3448 | 3427 |
|
|
0 commit comments