|
11 | 11 | #include <detail/device_impl.hpp>
|
12 | 12 | #include <detail/global_handler.hpp>
|
13 | 13 | #include <detail/platform_impl.hpp>
|
14 |
| -#include <detail/split_string.hpp> |
15 | 14 | #include <detail/ur_info_code.hpp>
|
16 | 15 | #include <sycl/backend_types.hpp>
|
17 | 16 | #include <sycl/detail/iostream_proxy.hpp>
|
@@ -565,17 +564,6 @@ ur_native_handle_t platform_impl::getNative() const {
|
565 | 564 | return Handle;
|
566 | 565 | }
|
567 | 566 |
|
568 |
| -template <typename Param> |
569 |
| -typename Param::return_type platform_impl::get_info() const { |
570 |
| - std::string InfoStr = urGetInfoString<UrApiKind::urPlatformGetInfo>( |
571 |
| - *this, detail::UrInfoCode<Param>::value); |
572 |
| - if constexpr (std::is_same_v<Param, info::platform::extensions>) { |
573 |
| - return split_string(InfoStr, ' '); |
574 |
| - } else { |
575 |
| - return InfoStr; |
576 |
| - } |
577 |
| -} |
578 |
| - |
579 | 567 | #ifndef __INTEL_PREVIEW_BREAKING_CHANGES
|
580 | 568 | template <>
|
581 | 569 | typename info::platform::version::return_type
|
@@ -645,12 +633,6 @@ device_impl *platform_impl::getDeviceImplHelper(ur_device_handle_t UrDevice) {
|
645 | 633 | return nullptr;
|
646 | 634 | }
|
647 | 635 |
|
648 |
| -#define __SYCL_PARAM_TRAITS_SPEC(DescType, Desc, ReturnT, PiCode) \ |
649 |
| - template ReturnT platform_impl::get_info<info::platform::Desc>() const; |
650 |
| - |
651 |
| -#include <sycl/info/platform_traits.def> |
652 |
| -#undef __SYCL_PARAM_TRAITS_SPEC |
653 |
| - |
654 | 636 | } // namespace detail
|
655 | 637 | } // namespace _V1
|
656 | 638 | } // namespace sycl
|
0 commit comments