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
#pragma once
10
11
// This file contains conversion routines from property_list to
12
// accessor_property_list. A separate file helps to avoid cyclic dependencies
13
// between header files.
14
15
#include <
sycl/ext/oneapi/accessor_property_list.hpp
>
16
#include <
sycl/property_list.hpp
>
17
18
namespace
sycl
{
19
inline
namespace
_V1 {
20
template
<
typename
... T>
21
inline
property_list::operator
ext::oneapi::accessor_property_list
<T...>() {
22
return
ext::oneapi::accessor_property_list
<T...>(MDataLessProps,
23
MPropsWithData);
24
}
25
}
// namespace _V1
26
}
// namespace sycl
accessor_property_list.hpp
sycl::_V1::ext::oneapi::accessor_property_list
Definition:
property_list.hpp:25
sycl
Definition:
access.hpp:18
property_list.hpp
include
sycl
property_list_conversion.hpp
Generated by
1.9.1