DPC++ Runtime
Runtime libraries for oneAPI DPC++
sycl::_V1::handler::ShouldEnableSetArg< T > Struct Template Reference

#include <sycl/handler.hpp>

Collaboration diagram for sycl::_V1::handler::ShouldEnableSetArg< T >:

Static Public Attributes

static constexpr bool value
 

Detailed Description

template<typename T>
struct sycl::_V1::handler::ShouldEnableSetArg< T >

Definition at line 1503 of file handler.hpp.

Member Data Documentation

◆ value

template<typename T >
constexpr bool sycl::_V1::handler::ShouldEnableSetArg< T >::value
staticconstexpr
Initial value:
=
std::is_trivially_copyable<detail::remove_reference_t<T>>::value
|| is_same_type<sampler, T>::value
|| (!is_same_type<cl_mem, T>::value &&
std::is_pointer<remove_cv_ref_t<T>>::value)
|| is_same_type<cl_mem, T>::value

Definition at line 1504 of file handler.hpp.


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