DPC++ Runtime
Runtime libraries for oneAPI DPC++
sycl::_V1::detail::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
 
constexpr half (const detail::host_half_impl::half &rhs)
 
constexpr operator detail::host_half_impl::half () const
 
__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)
 
__SYCL_CONSTEXPR_HALF operator float () const
 

Friends

template<typename Key >
struct std::hash
 
class sycl::ext::intel::esimd::detail::WrapperElementTypeProxy
 
__SYCL_CONSTEXPR_HALF friend half operator- (const half other)
 
std::ostream & operator<< (std::ostream &O, sycl::half const &rhs)
 
std::istream & operator>> (std::istream &I, sycl::half &rhs)
 

Detailed Description

Definition at line 295 of file half_type.hpp.

Constructor & Destructor Documentation

◆ half() [1/5]

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

◆ half() [2/5]

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

◆ half() [3/5]

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

◆ half() [4/5]

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

Definition at line 304 of file half_type.hpp.

◆ half() [5/5]

constexpr sycl::_V1::detail::half_impl::half::half ( const detail::host_half_impl::half rhs)
inlineconstexpr

Definition at line 311 of file half_type.hpp.

Member Function Documentation

◆ operator detail::host_half_impl::half()

constexpr sycl::_V1::detail::half_impl::half::operator detail::host_half_impl::half ( ) const
inlineconstexpr

Definition at line 312 of file half_type.hpp.

◆ operator float()

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

Definition at line 553 of file half_type.hpp.

◆ operator*=()

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

Definition at line 326 of file half_type.hpp.

◆ operator++() [1/2]

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

Definition at line 337 of file half_type.hpp.

Referenced by operator++().

◆ operator++() [2/2]

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

Definition at line 342 of file half_type.hpp.

References operator++().

◆ operator+=()

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

Definition at line 316 of file half_type.hpp.

◆ operator--() [1/2]

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

Definition at line 348 of file half_type.hpp.

Referenced by operator--().

◆ operator--() [2/2]

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

Definition at line 353 of file half_type.hpp.

References operator--().

◆ operator-=()

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

Definition at line 321 of file half_type.hpp.

◆ operator/=()

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

Definition at line 331 of file half_type.hpp.

◆ operator=()

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

Friends And Related Function Documentation

◆ operator-

__SYCL_CONSTEXPR_HALF friend half operator- ( const half  other)
friend

Definition at line 358 of file half_type.hpp.

◆ operator<<

std::ostream& operator<< ( std::ostream &  O,
sycl::half const &  rhs 
)
friend

Definition at line 558 of file half_type.hpp.

◆ operator>>

std::istream& operator>> ( std::istream &  I,
sycl::half rhs 
)
friend

Definition at line 564 of file half_type.hpp.

◆ std::hash

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

Definition at line 571 of file half_type.hpp.

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

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

Definition at line 573 of file half_type.hpp.


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