DPC++ Runtime
Runtime libraries for oneAPI DPC++
cl::sycl::detail::host_half_impl::half_v2 Class Reference

#include <CL/sycl/half_type.hpp>

Public Member Functions

 half_v2 ()=default
 
constexpr half_v2 (const half_v2 &)=default
 
constexpr half_v2 (half_v2 &&)=default
 
__SYCL_CONSTEXPR_HALF half_v2 (const float &rhs)
 
constexpr half_v2operator= (const half_v2 &rhs)=default
 
__SYCL_CONSTEXPR_HALF half_v2operator+= (const half_v2 &rhs)
 
__SYCL_CONSTEXPR_HALF half_v2operator-= (const half_v2 &rhs)
 
__SYCL_CONSTEXPR_HALF half_v2operator*= (const half_v2 &rhs)
 
__SYCL_CONSTEXPR_HALF half_v2operator/= (const half_v2 &rhs)
 
__SYCL_CONSTEXPR_HALF half_v2operator++ ()
 
__SYCL_CONSTEXPR_HALF half_v2 operator++ (int)
 
__SYCL_CONSTEXPR_HALF half_v2operator-- ()
 
__SYCL_CONSTEXPR_HALF half_v2 operator-- (int)
 
constexpr half_v2operator- ()
 
__SYCL_CONSTEXPR_HALF operator float () const
 
constexpr half_v2 (uint16_t x)
 

Friends

template<typename Key >
struct std::hash
 
class sycl::ext::intel::esimd::detail::WrapperElementTypeProxy
 

Detailed Description

Definition at line 198 of file half_type.hpp.

Constructor & Destructor Documentation

◆ half_v2() [1/5]

cl::sycl::detail::host_half_impl::half_v2::half_v2 ( )
default

◆ half_v2() [2/5]

constexpr cl::sycl::detail::host_half_impl::half_v2::half_v2 ( const half_v2 )
constexprdefault

◆ half_v2() [3/5]

constexpr cl::sycl::detail::host_half_impl::half_v2::half_v2 ( half_v2 &&  )
constexprdefault

◆ half_v2() [4/5]

__SYCL_CONSTEXPR_HALF cl::sycl::detail::host_half_impl::half_v2::half_v2 ( const float &  rhs)
inline

Definition at line 204 of file half_type.hpp.

◆ half_v2() [5/5]

constexpr cl::sycl::detail::host_half_impl::half_v2::half_v2 ( uint16_t  x)
inlineexplicitconstexpr

Definition at line 264 of file half_type.hpp.

Member Function Documentation

◆ operator float()

__SYCL_CONSTEXPR_HALF cl::sycl::detail::host_half_impl::half_v2::operator float ( ) const
inline

Definition at line 259 of file half_type.hpp.

References cl::sycl::detail::half2Float().

◆ operator*=()

__SYCL_CONSTEXPR_HALF half_v2& cl::sycl::detail::host_half_impl::half_v2::operator*= ( const half_v2 rhs)
inline

Definition at line 219 of file half_type.hpp.

◆ operator++() [1/2]

__SYCL_CONSTEXPR_HALF half_v2& cl::sycl::detail::host_half_impl::half_v2::operator++ ( )
inline

Definition at line 230 of file half_type.hpp.

◆ operator++() [2/2]

__SYCL_CONSTEXPR_HALF half_v2 cl::sycl::detail::host_half_impl::half_v2::operator++ ( int  )
inline

Definition at line 235 of file half_type.hpp.

◆ operator+=()

__SYCL_CONSTEXPR_HALF half_v2& cl::sycl::detail::host_half_impl::half_v2::operator+= ( const half_v2 rhs)
inline

Definition at line 209 of file half_type.hpp.

◆ operator-()

constexpr half_v2& cl::sycl::detail::host_half_impl::half_v2::operator- ( )
inlineconstexpr

Definition at line 253 of file half_type.hpp.

◆ operator--() [1/2]

__SYCL_CONSTEXPR_HALF half_v2& cl::sycl::detail::host_half_impl::half_v2::operator-- ( )
inline

Definition at line 241 of file half_type.hpp.

◆ operator--() [2/2]

__SYCL_CONSTEXPR_HALF half_v2 cl::sycl::detail::host_half_impl::half_v2::operator-- ( int  )
inline

Definition at line 246 of file half_type.hpp.

◆ operator-=()

__SYCL_CONSTEXPR_HALF half_v2& cl::sycl::detail::host_half_impl::half_v2::operator-= ( const half_v2 rhs)
inline

Definition at line 214 of file half_type.hpp.

◆ operator/=()

__SYCL_CONSTEXPR_HALF half_v2& cl::sycl::detail::host_half_impl::half_v2::operator/= ( const half_v2 rhs)
inline

Definition at line 224 of file half_type.hpp.

◆ operator=()

constexpr half_v2& cl::sycl::detail::host_half_impl::half_v2::operator= ( const half_v2 rhs)
constexprdefault

Friends And Related Function Documentation

◆ std::hash

template<typename Key >
friend struct std::hash
friend

Definition at line 261 of file half_type.hpp.

◆ sycl::ext::intel::esimd::detail::WrapperElementTypeProxy

friend class sycl::ext::intel::esimd::detail::WrapperElementTypeProxy
friend

Definition at line 266 of file half_type.hpp.


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