DPC++ Runtime
Runtime libraries for oneAPI Data Parallel C++
cl::sycl::handler::ShouldEnableSetArg< T > Struct Template Reference

#include <CL/sycl/handler.hpp>

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

Static Public Attributes

static constexpr bool value
 

Detailed Description

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

Definition at line 1254 of file handler.hpp.

Member Data Documentation

◆ value

template<typename T >
constexpr bool cl::sycl::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 1255 of file handler.hpp.


The documentation for this struct was generated from the following file:
cl::sycl::handler::ShouldEnableSetArg::value
static constexpr bool value
Definition: handler.hpp:1255