DPC++ Runtime
Runtime libraries for oneAPI Data Parallel C++
cl::sycl::ext::oneapi::accessor_property_list< PropsT > Class Template Reference

Objects of the accessor_property_list class are containers for the SYCL properties. More...

#include <CL/sycl/property_list.hpp>

Public Member Functions

template<typename = typename sycl::detail::enable_if_t< AllProperties<PropsT...>::value>>
 accessor_property_list (PropsT... Props)
 
 accessor_property_list (const sycl::property_list &Props)
 
template<typename... OtherProps, typename = typename sycl::detail::enable_if_t< ContainsSameProperties<PropertyContainer<PropsT...>, OtherProps...>::value && ContainsSameProperties<PropertyContainer<OtherProps...>, PropsT...>::value>>
 accessor_property_list (const accessor_property_list< OtherProps... > &OtherList)
 
template<typename PropT , typename = typename sycl::detail::enable_if_t< !is_compile_time_property<PropT>::value>>
PropT get_property () const
 
template<class PropT >
sycl::detail::enable_if_t<!is_compile_time_property< PropT >::value, bool > has_property () const
 

Friends

template<typename , int , access::mode , access::target , access::placeholder , typename PropertyListT >
class sycl::accessor
 
template<typename... OtherProps>
class accessor_property_list
 
class sycl::property_list
 

Detailed Description

template<typename... PropsT>
class cl::sycl::ext::oneapi::accessor_property_list< PropsT >

Objects of the accessor_property_list class are containers for the SYCL properties.

Unlike property_list, accessor_property_list can take compile-time-constant properties.

See also
accessor
property_list

Definition at line 18 of file property_list.hpp.

Constructor & Destructor Documentation

◆ accessor_property_list() [1/3]

template<typename... PropsT>
template<typename = typename sycl::detail::enable_if_t< AllProperties<PropsT...>::value>>
cl::sycl::ext::oneapi::accessor_property_list< PropsT >::accessor_property_list ( PropsT...  Props)
inline

Definition at line 160 of file accessor_property_list.hpp.

◆ accessor_property_list() [2/3]

template<typename... PropsT>
cl::sycl::ext::oneapi::accessor_property_list< PropsT >::accessor_property_list ( const sycl::property_list Props)
inline

Definition at line 165 of file accessor_property_list.hpp.

◆ accessor_property_list() [3/3]

template<typename... PropsT>
template<typename... OtherProps, typename = typename sycl::detail::enable_if_t< ContainsSameProperties<PropertyContainer<PropsT...>, OtherProps...>::value && ContainsSameProperties<PropertyContainer<OtherProps...>, PropsT...>::value>>
cl::sycl::ext::oneapi::accessor_property_list< PropsT >::accessor_property_list ( const accessor_property_list< OtherProps... > &  OtherList)
inline

Definition at line 175 of file accessor_property_list.hpp.

Member Function Documentation

◆ get_property()

template<typename... PropsT>
template<typename PropT , typename = typename sycl::detail::enable_if_t< !is_compile_time_property<PropT>::value>>
PropT cl::sycl::ext::oneapi::accessor_property_list< PropsT >::get_property ( ) const
inline

Definition at line 181 of file accessor_property_list.hpp.

References PI_INVALID_VALUE.

◆ has_property()

template<typename... PropsT>
template<class PropT >
sycl::detail::enable_if_t<!is_compile_time_property<PropT>::value, bool> cl::sycl::ext::oneapi::accessor_property_list< PropsT >::has_property ( ) const
inline

Definition at line 192 of file accessor_property_list.hpp.

Friends And Related Function Documentation

◆ accessor_property_list

template<typename... PropsT>
template<typename... OtherProps>
friend class accessor_property_list
friend

Definition at line 220 of file accessor_property_list.hpp.

◆ sycl::accessor

template<typename... PropsT>
template<typename , int , access::mode , access::target , access::placeholder , typename PropertyListT >
friend class sycl::accessor
friend

Definition at line 218 of file accessor_property_list.hpp.

◆ sycl::property_list

template<typename... PropsT>
friend class sycl::property_list
friend

Definition at line 222 of file accessor_property_list.hpp.


The documentation for this class was generated from the following files: