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 
14 #include <sycl/property_list.hpp>
15 
16 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 } // __SYCL_INLINE_VER_NAMESPACE(_V1)
24 } // namespace sycl
#define __SYCL_INLINE_VER_NAMESPACE(X)
---— Error handling, matching OpenCL plugin semantics.
Definition: access.hpp:14