DPC++ Runtime
Runtime libraries for oneAPI DPC++
cl::sycl::ext::oneapi::experimental::properties< PropertiesT > Class Template Reference

#include <sycl/ext/oneapi/properties/properties.hpp>

Public Member Functions

template<typename... PropertyValueTs>
constexpr properties (PropertyValueTs... props)
 
template<typename PropertyT >
std::enable_if_t< detail::IsRuntimeProperty< PropertyT >::value &&has_property< PropertyT >), PropertyT > get_property () const
 
template<typename PropertyT >
std::enable_if_t< detail::IsRuntimeProperty< PropertyT >::value &&!has_property< PropertyT >), void > get_property () const
 

Static Public Member Functions

template<typename PropertyT >
static constexpr std::enable_if_t< detail::IsProperty< PropertyT >::value, bool > has_property ()
 
template<typename PropertyT >
static constexpr auto get_property (typename std::enable_if_t< detail::IsCompileTimeProperty< PropertyT >::value > *=0)
 

Detailed Description

template<typename PropertiesT>
class cl::sycl::ext::oneapi::experimental::properties< PropertiesT >

Definition at line 128 of file properties.hpp.

Constructor & Destructor Documentation

◆ properties()

template<typename PropertiesT >
template<typename... PropertyValueTs>
constexpr cl::sycl::ext::oneapi::experimental::properties< PropertiesT >::properties ( PropertyValueTs...  props)
inlineconstexpr

Definition at line 140 of file properties.hpp.

Member Function Documentation

◆ get_property() [1/3]

template<typename PropertiesT >
template<typename PropertyT >
std::enable_if_t<detail::IsRuntimeProperty<PropertyT>::value && has_property<PropertyT>), PropertyT> cl::sycl::ext::oneapi::experimental::properties< PropertiesT >::get_property ( ) const
inline

Definition at line 154 of file properties.hpp.

◆ get_property() [2/3]

template<typename PropertiesT >
template<typename PropertyT >
std::enable_if_t<detail::IsRuntimeProperty<PropertyT>::value && !has_property<PropertyT>), void> cl::sycl::ext::oneapi::experimental::properties< PropertiesT >::get_property ( ) const
inline

Definition at line 162 of file properties.hpp.

◆ get_property() [3/3]

template<typename PropertiesT >
template<typename PropertyT >
static constexpr auto cl::sycl::ext::oneapi::experimental::properties< PropertiesT >::get_property ( typename std::enable_if_t< detail::IsCompileTimeProperty< PropertyT >::value > *  = 0)
inlinestaticconstexpr

Definition at line 169 of file properties.hpp.

◆ has_property()

template<typename PropertiesT >
template<typename PropertyT >
static constexpr std::enable_if_t<detail::IsProperty<PropertyT>::value, bool> cl::sycl::ext::oneapi::experimental::properties< PropertiesT >::has_property ( )
inlinestaticconstexpr

Definition at line 146 of file properties.hpp.


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