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 270 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 279 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 286 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 287 of file half_type.hpp.

◆ operator float()

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

Definition at line 528 of file half_type.hpp.

◆ operator*=()

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

Definition at line 301 of file half_type.hpp.

◆ operator++() [1/2]

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

Definition at line 312 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 317 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 291 of file half_type.hpp.

◆ operator--() [1/2]

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

Definition at line 323 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 328 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 296 of file half_type.hpp.

◆ operator/=()

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

Definition at line 306 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 333 of file half_type.hpp.

◆ operator<<

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

Definition at line 533 of file half_type.hpp.

◆ operator>>

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

Definition at line 539 of file half_type.hpp.

◆ std::hash

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

Definition at line 546 of file half_type.hpp.

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

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

Definition at line 548 of file half_type.hpp.


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