DPC++ Runtime
Runtime libraries for oneAPI DPC++
cl::sycl::detail::select_cl_vector_or_scalar< T, typename detail::enable_if_t< is_vgentype< T >::value > > Struct Template Reference

#include <CL/sycl/detail/generic_type_traits.hpp>

Public Types

using type = vec< conditional_t< std::is_same< typename T::element_type, half >::value, typename T::element_type, select_cl_scalar_t< typename T::element_type > >, T::size()>
 

Detailed Description

template<typename T>
struct cl::sycl::detail::select_cl_vector_or_scalar< T, typename detail::enable_if_t< is_vgentype< T >::value > >

Definition at line 407 of file generic_type_traits.hpp.

Member Typedef Documentation

◆ type

template<typename T >
using cl::sycl::detail::select_cl_vector_or_scalar< T, typename detail::enable_if_t< is_vgentype< T >::value > >::type = vec<conditional_t<std::is_same<typename T::element_type, half>::value, typename T::element_type, select_cl_scalar_t<typename T::element_type> >, T::size()>

Definition at line 416 of file generic_type_traits.hpp.


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