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 1947 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_v<std::remove_reference_t<T>>
|| is_same_type<sampler, T>::value
|| (!is_same_type<cl_mem, T>::value &&
std::is_pointer_v<remove_cv_ref_t<T>>)
|| is_same_type<cl_mem, T>::value

Definition at line 1948 of file handler.hpp.


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