DPC++ Runtime
Runtime libraries for oneAPI DPC++
backend_traits.hpp
Go to the documentation of this file.
1 //==-------------- backend_traits.hpp - SYCL backend traits ----------------==//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #pragma once
10 
11 #include <sycl/backend_types.hpp>
12 #include <sycl/detail/common.hpp>
13 
14 namespace sycl {
16 namespace detail {
17 
18 template <backend Backend, typename SYCLObjectT> struct interop;
19 
20 template <backend Backend, typename T> struct BackendInput;
21 
22 template <backend Backend, typename T> struct BackendReturn;
23 
24 template <backend Backend> struct InteropFeatureSupportMap {
25  static constexpr bool MakePlatform = false;
26  static constexpr bool MakeDevice = false;
27  static constexpr bool MakeContext = false;
28  static constexpr bool MakeQueue = false;
29  static constexpr bool MakeEvent = false;
30  static constexpr bool MakeBuffer = false;
31  static constexpr bool MakeKernel = false;
32  static constexpr bool MakeKernelBundle = false;
33  static constexpr bool MakeImage = false;
34 };
35 } // namespace detail
36 } // __SYCL_INLINE_VER_NAMESPACE(_V1)
37 } // namespace sycl
__SYCL_INLINE_VER_NAMESPACE
#define __SYCL_INLINE_VER_NAMESPACE(X)
Definition: defines_elementary.hpp:11
sycl
---— Error handling, matching OpenCL plugin semantics.
Definition: access.hpp:14
sycl::_V1::detail::BackendInput
Definition: backend_traits.hpp:20
sycl::_V1::detail::InteropFeatureSupportMap
Definition: backend_traits.hpp:24
sycl::_V1::detail::interop
Definition: backend_traits.hpp:18
common.hpp
sycl::_V1::detail::BackendReturn
Definition: backend_traits.hpp:22
backend_types.hpp