DPC++ Runtime
Runtime libraries for oneAPI Data Parallel C++
cl::sycl::property_list Class Reference

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

#include <CL/sycl/property_list.hpp>

Inheritance diagram for cl::sycl::property_list:
Collaboration diagram for cl::sycl::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
 
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 cl::sycl::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
 
template<typename PropT >
detail::enable_if_t< std::is_base_of< PropertyWithDataBase, PropT >::value, bool > has_property_helper () const
 
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
 
- Protected Attributes inherited from cl::sycl::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 25 of file property_list.hpp.

Constructor & Destructor Documentation

◆ property_list()

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

Definition at line 39 of file property_list.hpp.

Member Function Documentation

◆ get_property()

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

Definition at line 43 of file property_list.hpp.

References PI_INVALID_VALUE.

◆ has_property()

template<typename PropT >
bool cl::sycl::property_list::has_property ( ) const
inline

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

template<typename... T>
cl::sycl::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 59 of file property_list.hpp.


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