DPC++ Runtime
Runtime libraries for oneAPI DPC++
sycl::_V1::property_list Class Reference

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

#include <sycl/property_list.hpp>

Inheritance diagram for sycl::_V1::property_list:
Collaboration diagram for sycl::_V1::property_list:

Public Member Functions

template<typename... PropsT, typename = typename detail::enable_if_t< AllProperties<PropsT...>::value>>
 property_list (PropsT... Props)
 
template<typename PropT >
PropT get_property () const
 
template<typename PropT >
bool has_property () const noexcept
 
void add_or_replace_accessor_properties (const property_list &PropertyList)
 
void delete_accessor_property (const sycl::detail::PropWithDataKind &Kind)
 
template<typename... T>
 operator ext::oneapi::accessor_property_list< T... > ()
 

Friends

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

Additional Inherited Members

- Protected Member Functions inherited from sycl::_V1::detail::PropertyListBase
 PropertyListBase (std::bitset< DataLessPropKind::DataLessPropKindSize > DataLessProps)
 
 PropertyListBase (std::bitset< DataLessPropKind::DataLessPropKindSize > DataLessProps, std::vector< std::shared_ptr< PropertyWithDataBase >> PropsWithData)
 
void ctorHelper ()
 
template<typename... PropsT, class PropT >
detail::enable_if_t< std::is_base_of< DataLessPropertyBase, PropT >::value > ctorHelper (PropT &, PropsT... Props)
 
template<typename... PropsT, class PropT >
detail::enable_if_t< std::is_base_of< PropertyWithDataBase, PropT >::value > ctorHelper (PropT &Prop, PropsT... Props)
 
template<typename... PropsT, class PropT >
detail::enable_if_t< !std::is_base_of< PropertyWithDataBase, PropT >::value &&!std::is_base_of< DataLessPropertyBase, PropT >::value > ctorHelper (PropT &, PropsT... Props)
 
template<typename PropT >
detail::enable_if_t< std::is_base_of< DataLessPropertyBase, PropT >::value, bool > has_property_helper () const noexcept
 
template<typename PropT >
detail::enable_if_t< std::is_base_of< PropertyWithDataBase, PropT >::value, bool > has_property_helper () const noexcept
 
template<typename PropT >
detail::enable_if_t< std::is_base_of< DataLessPropertyBase, PropT >::value, PropT > get_property_helper () const
 
template<typename PropT >
detail::enable_if_t< std::is_base_of< PropertyWithDataBase, PropT >::value, PropT > get_property_helper () const
 
void add_or_replace_accessor_properties_helper (const std::vector< std::shared_ptr< PropertyWithDataBase >> &PropsWithData)
 
void delete_accessor_property_helper (const PropWithDataKind &Kind)
 
- Protected Attributes inherited from sycl::_V1::detail::PropertyListBase
std::bitset< DataLessPropKind::DataLessPropKindSize > MDataLessProps
 
std::vector< std::shared_ptr< PropertyWithDataBase > > MPropsWithData
 

Detailed Description

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

Definition at line 24 of file property_list.hpp.

Constructor & Destructor Documentation

◆ property_list()

template<typename... PropsT, typename = typename detail::enable_if_t< AllProperties<PropsT...>::value>>
sycl::_V1::property_list::property_list ( PropsT...  Props)
inline

Definition at line 36 of file property_list.hpp.

Member Function Documentation

◆ add_or_replace_accessor_properties()

void sycl::_V1::property_list::add_or_replace_accessor_properties ( const property_list PropertyList)
inline

◆ delete_accessor_property()

void sycl::_V1::property_list::delete_accessor_property ( const sycl::detail::PropWithDataKind &  Kind)
inline

Definition at line 55 of file property_list.hpp.

◆ get_property()

template<typename PropT >
PropT sycl::_V1::property_list::get_property ( ) const
inline

◆ has_property()

template<typename PropT >
bool sycl::_V1::property_list::has_property ( ) const
inlinenoexcept

◆ operator ext::oneapi::accessor_property_list< T... >()

template<typename... T>
sycl::_V1::property_list::operator ext::oneapi::accessor_property_list< T... >
inline

Definition at line 19 of file property_list_conversion.hpp.

Friends And Related Function Documentation

◆ ext::oneapi::accessor_property_list

template<typename... PropsT>
friend class ext::oneapi::accessor_property_list
friend

Definition at line 68 of file property_list.hpp.


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