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 std::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 >
std::enable_if_t< std::is_base_of_v< DataLessPropertyBase, PropT > > ctorHelper (PropT &, PropsT... Props)
 
template<typename... PropsT, class PropT >
std::enable_if_t< std::is_base_of_v< PropertyWithDataBase, PropT > > ctorHelper (PropT &Prop, PropsT... Props)
 
template<typename... PropsT, class PropT >
std::enable_if_t<!std::is_base_of_v< PropertyWithDataBase, PropT > &&!std::is_base_of_v< DataLessPropertyBase, PropT > > ctorHelper (PropT &, PropsT... Props)
 
template<typename PropT >
std::enable_if_t< std::is_base_of_v< DataLessPropertyBase, PropT >, bool > has_property_helper () const noexcept
 
template<typename PropT >
std::enable_if_t< std::is_base_of_v< PropertyWithDataBase, PropT >, bool > has_property_helper () const noexcept
 
template<typename PropT >
std::enable_if_t< std::is_base_of_v< DataLessPropertyBase, PropT >, PropT > get_property_helper () const
 
template<typename PropT >
std::enable_if_t< std::is_base_of_v< PropertyWithDataBase, PropT >, 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 31 of file property_list.hpp.

Constructor & Destructor Documentation

◆ property_list()

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

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

◆ get_property()

◆ has_property()

◆ 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 21 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 75 of file property_list.hpp.


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