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 
13 namespace sycl {
14 inline namespace _V1 {
15 namespace detail {
16 
17 template <backend Backend, typename SYCLObjectT> struct interop;
18 
19 template <backend Backend, typename T> struct BackendInput;
20 
21 template <backend Backend, typename T> struct BackendReturn;
22 
23 template <backend Backend> struct InteropFeatureSupportMap {
24  static constexpr bool MakePlatform = false;
25  static constexpr bool MakeDevice = false;
26  static constexpr bool MakeContext = false;
27  static constexpr bool MakeQueue = false;
28  static constexpr bool MakeEvent = false;
29  static constexpr bool MakeBuffer = false;
30  static constexpr bool MakeKernel = false;
31  static constexpr bool MakeKernelBundle = false;
32  static constexpr bool MakeImage = false;
33 };
34 } // namespace detail
35 } // namespace _V1
36 } // namespace sycl
Definition: access.hpp:18