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

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

Collaboration diagram for cl::sycl::detail::RelConverter< T, typename detail::enable_if_t< TryToGetElementType< T >::value > >:

Public Types

using bool_t = Boolean< N >
 
using ret_t = rel_ret_t< T >
 

Static Public Member Functions

static ret_t apply (bool_t value)
 

Static Public Attributes

static const int N = T::size()
 

Detailed Description

template<typename T>
struct cl::sycl::detail::RelConverter< T, typename detail::enable_if_t< TryToGetElementType< T >::value > >

Definition at line 558 of file generic_type_traits.hpp.

Member Typedef Documentation

◆ bool_t

template<typename T >
using cl::sycl::detail::RelConverter< T, typename detail::enable_if_t< TryToGetElementType< T >::value > >::bool_t = Boolean<N>

Definition at line 565 of file generic_type_traits.hpp.

◆ ret_t

template<typename T >
using cl::sycl::detail::RelConverter< T, typename detail::enable_if_t< TryToGetElementType< T >::value > >::ret_t = rel_ret_t<T>

Definition at line 566 of file generic_type_traits.hpp.

Member Function Documentation

◆ apply()

template<typename T >
static ret_t cl::sycl::detail::RelConverter< T, typename detail::enable_if_t< TryToGetElementType< T >::value > >::apply ( bool_t  value)
inlinestatic

Definition at line 569 of file generic_type_traits.hpp.

Member Data Documentation

◆ N

template<typename T >
const int cl::sycl::detail::RelConverter< T, typename detail::enable_if_t< TryToGetElementType< T >::value > >::N = T::size()
static

Definition at line 560 of file generic_type_traits.hpp.


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