DPC++ Runtime
Runtime libraries for oneAPI DPC++
cl::sycl::detail::make_larger_impl< vec< T, N >, vec< T, N > > Struct Template Reference

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

Collaboration diagram for cl::sycl::detail::make_larger_impl< vec< T, N >, vec< T, N > >:

Public Types

using base_type = vector_element_t< vec< T, N > >
 
using upper_type = typename make_larger_impl< base_type, base_type >::type
 
using new_type = vec< upper_type, N >
 
using type = conditional_t< found, new_type, void >
 

Static Public Attributes

static constexpr bool found = !std::is_same<upper_type, void>::value
 

Detailed Description

template<typename T, int N>
struct cl::sycl::detail::make_larger_impl< vec< T, N >, vec< T, N > >

Definition at line 327 of file type_traits.hpp.

Member Typedef Documentation

◆ base_type

template<typename T , int N>
using cl::sycl::detail::make_larger_impl< vec< T, N >, vec< T, N > >::base_type = vector_element_t<vec<T, N> >

Definition at line 328 of file type_traits.hpp.

◆ new_type

template<typename T , int N>
using cl::sycl::detail::make_larger_impl< vec< T, N >, vec< T, N > >::new_type = vec<upper_type, N>

Definition at line 330 of file type_traits.hpp.

◆ type

template<typename T , int N>
using cl::sycl::detail::make_larger_impl< vec< T, N >, vec< T, N > >::type = conditional_t<found, new_type, void>

Definition at line 332 of file type_traits.hpp.

◆ upper_type

template<typename T , int N>
using cl::sycl::detail::make_larger_impl< vec< T, N >, vec< T, N > >::upper_type = typename make_larger_impl<base_type, base_type>::type

Definition at line 329 of file type_traits.hpp.

Member Data Documentation

◆ found

template<typename T , int N>
constexpr bool cl::sycl::detail::make_larger_impl< vec< T, N >, vec< T, N > >::found = !std::is_same<upper_type, void>::value
staticconstexpr

Definition at line 331 of file type_traits.hpp.


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