DPC++ Runtime
Runtime libraries for oneAPI DPC++
cl::sycl::detail::half_impl::half Class Reference

#include <CL/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_v2 &rhs)
 
constexpr operator detail::host_half_impl::half_v2 () 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)
 

Detailed Description

Definition at line 329 of file half_type.hpp.

Constructor & Destructor Documentation

◆ half() [1/5]

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

◆ half() [2/5]

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

◆ half() [3/5]

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

◆ half() [4/5]

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

Definition at line 335 of file half_type.hpp.

◆ half() [5/5]

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

Definition at line 342 of file half_type.hpp.

Member Function Documentation

◆ operator detail::host_half_impl::half_v2()

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

Definition at line 343 of file half_type.hpp.

◆ operator float()

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

Definition at line 584 of file half_type.hpp.

◆ operator*=()

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

Definition at line 357 of file half_type.hpp.

◆ operator++() [1/2]

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

Definition at line 368 of file half_type.hpp.

◆ operator++() [2/2]

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

Definition at line 373 of file half_type.hpp.

◆ operator+=()

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

Definition at line 347 of file half_type.hpp.

◆ operator--() [1/2]

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

Definition at line 379 of file half_type.hpp.

◆ operator--() [2/2]

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

Definition at line 384 of file half_type.hpp.

◆ operator-=()

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

Definition at line 352 of file half_type.hpp.

◆ operator/=()

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

Definition at line 362 of file half_type.hpp.

◆ operator=()

constexpr half& cl::sycl::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 389 of file half_type.hpp.

◆ std::hash

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

Definition at line 588 of file half_type.hpp.

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

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

Definition at line 590 of file half_type.hpp.


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