DPC++ Runtime
Runtime libraries for oneAPI DPC++
property_list_conversion.hpp
Go to the documentation of this file.
1
//==---- property_list_conversion.hpp --- SYCL property list conversion ----==//
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
// This file contains conversion routines from property_list to
10
// accessor_property_list. A separate file helps to avoid cyclic dependencies
11
// between header files.
12
13
#include <
CL/sycl/property_list.hpp
>
14
#include <
sycl/ext/oneapi/accessor_property_list.hpp
>
15
16
__SYCL_INLINE_NAMESPACE
(
cl
) {
17
namespace
sycl
{
18
template
<
typename
...
T
>
19
inline
property_list::operator
ext::oneapi::accessor_property_list
<T...>() {
20
return
ext::oneapi::accessor_property_list
<T...>(MDataLessProps,
21
MPropsWithData);
22
}
23
}
// namespace sycl
24
}
// __SYCL_INLINE_NAMESPACE(cl)
property_list.hpp
T
accessor_property_list.hpp
sycl
Definition:
invoke_simd.hpp:68
cl
We provide new interfaces for matrix muliply in this patch:
Definition:
access.hpp:13
cl::sycl::ext::oneapi::accessor_property_list
Objects of the accessor_property_list class are containers for the SYCL properties.
Definition:
property_list.hpp:19
__SYCL_INLINE_NAMESPACE
#define __SYCL_INLINE_NAMESPACE(X)
Definition:
defines_elementary.hpp:12
include
CL
sycl
property_list_conversion.hpp
Generated by
1.8.17