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 <
CL/sycl/backend_types.hpp
>
12
#include <
CL/sycl/detail/common.hpp
>
13
14
__SYCL_INLINE_NAMESPACE
(
cl
) {
15
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
};
33
}
// namespace detail
34
}
// namespace sycl
35
}
// __SYCL_INLINE_NAMESPACE(cl)
sycl
Definition:
invoke_simd.hpp:68
cl::sycl::detail::InteropFeatureSupportMap
Definition:
backend_traits.hpp:24
cl
We provide new interfaces for matrix muliply in this patch:
Definition:
access.hpp:13
cl::sycl::detail::interop
Definition:
backend_traits.hpp:18
backend_types.hpp
common.hpp
cl::sycl::detail::BackendReturn
Definition:
backend_traits.hpp:22
cl::sycl::detail::BackendInput
Definition:
backend_traits.hpp:20
__SYCL_INLINE_NAMESPACE
#define __SYCL_INLINE_NAMESPACE(X)
Definition:
defines_elementary.hpp:12
include
CL
sycl
detail
backend_traits.hpp
Generated by
1.8.17