DPC++ Runtime
Runtime libraries for oneAPI DPC++
sycl::_V1::detail::host_half_impl::half Class Reference

#include <sycl/half_type.hpp>

Public Member Functions

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

Friends

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

Detailed Description

Definition at line 150 of file half_type.hpp.

Constructor & Destructor Documentation

◆ half() [1/5]

sycl::_V1::detail::host_half_impl::half::half ( )
default

◆ half() [2/5]

constexpr sycl::_V1::detail::host_half_impl::half::half ( const half )
constexprdefault

◆ half() [3/5]

constexpr sycl::_V1::detail::host_half_impl::half::half ( half &&  )
constexprdefault

◆ half() [4/5]

__SYCL_CONSTEXPR_HALF sycl::_V1::detail::host_half_impl::half::half ( const float &  rhs)
inline

Definition at line 156 of file half_type.hpp.

◆ half() [5/5]

constexpr sycl::_V1::detail::host_half_impl::half::half ( uint16_t  x)
inlineexplicitconstexpr

Definition at line 216 of file half_type.hpp.

Member Function Documentation

◆ operator float()

__SYCL_CONSTEXPR_HALF sycl::_V1::detail::host_half_impl::half::operator float ( ) const
inline

Definition at line 211 of file half_type.hpp.

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

◆ operator*=()

__SYCL_CONSTEXPR_HALF half& sycl::_V1::detail::host_half_impl::half::operator*= ( const half rhs)
inline

Definition at line 171 of file half_type.hpp.

◆ operator++() [1/2]

__SYCL_CONSTEXPR_HALF half& sycl::_V1::detail::host_half_impl::half::operator++ ( )
inline

Definition at line 182 of file half_type.hpp.

◆ operator++() [2/2]

__SYCL_CONSTEXPR_HALF half sycl::_V1::detail::host_half_impl::half::operator++ ( int  )
inline

Definition at line 187 of file half_type.hpp.

◆ operator+=()

__SYCL_CONSTEXPR_HALF half& sycl::_V1::detail::host_half_impl::half::operator+= ( const half rhs)
inline

Definition at line 161 of file half_type.hpp.

◆ operator-()

constexpr half& sycl::_V1::detail::host_half_impl::half::operator- ( )
inlineconstexpr

Definition at line 205 of file half_type.hpp.

◆ operator--() [1/2]

__SYCL_CONSTEXPR_HALF half& sycl::_V1::detail::host_half_impl::half::operator-- ( )
inline

Definition at line 193 of file half_type.hpp.

◆ operator--() [2/2]

__SYCL_CONSTEXPR_HALF half sycl::_V1::detail::host_half_impl::half::operator-- ( int  )
inline

Definition at line 198 of file half_type.hpp.

◆ operator-=()

__SYCL_CONSTEXPR_HALF half& sycl::_V1::detail::host_half_impl::half::operator-= ( const half rhs)
inline

Definition at line 166 of file half_type.hpp.

◆ operator/=()

__SYCL_CONSTEXPR_HALF half& sycl::_V1::detail::host_half_impl::half::operator/= ( const half rhs)
inline

Definition at line 176 of file half_type.hpp.

◆ operator=()

constexpr half& sycl::_V1::detail::host_half_impl::half::operator= ( const half rhs)
constexprdefault

Friends And Related Function Documentation

◆ std::hash

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

Definition at line 213 of file half_type.hpp.

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

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

Definition at line 218 of file half_type.hpp.


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