Eigen::bfloat16_impl¶
Classes¶
Name | |
---|---|
struct | Eigen::bfloat16_impl::__bfloat16_raw |
struct | Eigen::bfloat16_impl::bfloat16_base |
Functions¶
Name | |
---|---|
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR __bfloat16_raw | raw_uint16_to_bfloat16(unsigned short value) |
template <bool AssumeArgumentIsNormalOrInfinityOrZero> EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC __bfloat16_raw |
float_to_bfloat16_rtne(float ff) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC __bfloat16_raw | float_to_bfloat16_rtne< false >(float ff) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC __bfloat16_raw | float_to_bfloat16_rtne< true >(float ff) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC float | bfloat16_to_float(__bfloat16_raw h) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 | operator+(const bfloat16 & a, const bfloat16 & b) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 | operator+(const bfloat16 & a, const int & b) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 | operator+(const int & a, const bfloat16 & b) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 | operator*(const bfloat16 & a, const bfloat16 & b) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 | operator-(const bfloat16 & a, const bfloat16 & b) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 | operator/(const bfloat16 & a, const bfloat16 & b) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 | operator-(const bfloat16 & a) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 & | operator+=(bfloat16 & a, const bfloat16 & b) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 & | operator*=(bfloat16 & a, const bfloat16 & b) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 & | operator-=(bfloat16 & a, const bfloat16 & b) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 & | operator/=(bfloat16 & a, const bfloat16 & b) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 | operator++(bfloat16 & a) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 | operator--(bfloat16 & a) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 | operator++(bfloat16 & a, int ) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 | operator--(bfloat16 & a, int ) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bool | operator==(const bfloat16 & a, const bfloat16 & b) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bool | operator!=(const bfloat16 & a, const bfloat16 & b) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bool | operator<(const bfloat16 & a, const bfloat16 & b) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bool | operator<=(const bfloat16 & a, const bfloat16 & b) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bool | operator>(const bfloat16 & a, const bfloat16 & b) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bool | operator>=(const bfloat16 & a, const bfloat16 & b) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 | operator/(const bfloat16 & a, Index b) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC __bfloat16_raw | truncate_to_bfloat16(const float v) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR __bfloat16_raw | raw_uint16_to_bfloat16(numext::uint16_t value) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR numext::uint16_t | raw_bfloat16_as_uint16(const __bfloat16_raw & bf) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bool() | isinf(const bfloat16 & a) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bool() | isnan(const bfloat16 & a) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bool() | isfinite(const bfloat16 & a) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 | abs(const bfloat16 & a) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 | exp(const bfloat16 & a) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 | expm1(const bfloat16 & a) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 | log(const bfloat16 & a) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 | log1p(const bfloat16 & a) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 | log10(const bfloat16 & a) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 | log2(const bfloat16 & a) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 | sqrt(const bfloat16 & a) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 | pow(const bfloat16 & a, const bfloat16 & b) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 | sin(const bfloat16 & a) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 | cos(const bfloat16 & a) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 | tan(const bfloat16 & a) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 | asin(const bfloat16 & a) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 | acos(const bfloat16 & a) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 | atan(const bfloat16 & a) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 | sinh(const bfloat16 & a) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 | cosh(const bfloat16 & a) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 | tanh(const bfloat16 & a) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 | floor(const bfloat16 & a) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 | ceil(const bfloat16 & a) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 | rint(const bfloat16 & a) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 | round(const bfloat16 & a) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 | fmod(const bfloat16 & a, const bfloat16 & b) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16() | min(const bfloat16 & a, const bfloat16 & b) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16() | max(const bfloat16 & a, const bfloat16 & b) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 | fmin(const bfloat16 & a, const bfloat16 & b) |
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 | fmax(const bfloat16 & a, const bfloat16 & b) |
EIGEN_ALWAYS_INLINE std::ostream & | operator<<(std::ostream & os, const bfloat16 & v) |
Functions Documentation¶
function raw_uint16_to_bfloat16¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR __bfloat16_raw raw_uint16_to_bfloat16(
unsigned short value
)
function float_to_bfloat16_rtne¶
template <bool AssumeArgumentIsNormalOrInfinityOrZero>
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC __bfloat16_raw float_to_bfloat16_rtne(
float ff
)
function float_to_bfloat16_rtne< false >¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC __bfloat16_raw float_to_bfloat16_rtne< false >(
float ff
)
function float_to_bfloat16_rtne< true >¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC __bfloat16_raw float_to_bfloat16_rtne< true >(
float ff
)
function bfloat16_to_float¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC float bfloat16_to_float(
__bfloat16_raw h
)
function operator+¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 operator+(
const bfloat16 & a,
const bfloat16 & b
)
function operator+¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 operator+(
const bfloat16 & a,
const int & b
)
function operator+¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 operator+(
const int & a,
const bfloat16 & b
)
function operator*¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 operator*(
const bfloat16 & a,
const bfloat16 & b
)
function operator-¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 operator-(
const bfloat16 & a,
const bfloat16 & b
)
function operator/¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 operator/(
const bfloat16 & a,
const bfloat16 & b
)
function operator-¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 operator-(
const bfloat16 & a
)
function operator+=¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 & operator+=(
bfloat16 & a,
const bfloat16 & b
)
function operator*=¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 & operator*=(
bfloat16 & a,
const bfloat16 & b
)
function operator-=¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 & operator-=(
bfloat16 & a,
const bfloat16 & b
)
function operator/=¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 & operator/=(
bfloat16 & a,
const bfloat16 & b
)
function operator++¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 operator++(
bfloat16 & a
)
function operator--¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 operator--(
bfloat16 & a
)
function operator++¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 operator++(
bfloat16 & a,
int
)
function operator--¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 operator--(
bfloat16 & a,
int
)
function operator==¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bool operator==(
const bfloat16 & a,
const bfloat16 & b
)
function operator!=¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bool operator!=(
const bfloat16 & a,
const bfloat16 & b
)
function operator<¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bool operator<(
const bfloat16 & a,
const bfloat16 & b
)
function operator<=¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bool operator<=(
const bfloat16 & a,
const bfloat16 & b
)
function operator>¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bool operator>(
const bfloat16 & a,
const bfloat16 & b
)
function operator>=¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bool operator>=(
const bfloat16 & a,
const bfloat16 & b
)
function operator/¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 operator/(
const bfloat16 & a,
Index b
)
function truncate_to_bfloat16¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC __bfloat16_raw truncate_to_bfloat16(
const float v
)
function raw_uint16_to_bfloat16¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR __bfloat16_raw raw_uint16_to_bfloat16(
numext::uint16_t value
)
function raw_bfloat16_as_uint16¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR numext::uint16_t raw_bfloat16_as_uint16(
const __bfloat16_raw & bf
)
function isinf¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bool() isinf(
const bfloat16 & a
)
function isnan¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bool() isnan(
const bfloat16 & a
)
function isfinite¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bool() isfinite(
const bfloat16 & a
)
function abs¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 abs(
const bfloat16 & a
)
function exp¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 exp(
const bfloat16 & a
)
function expm1¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 expm1(
const bfloat16 & a
)
function log¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 log(
const bfloat16 & a
)
function log1p¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 log1p(
const bfloat16 & a
)
function log10¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 log10(
const bfloat16 & a
)
function log2¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 log2(
const bfloat16 & a
)
function sqrt¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 sqrt(
const bfloat16 & a
)
function pow¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 pow(
const bfloat16 & a,
const bfloat16 & b
)
function sin¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 sin(
const bfloat16 & a
)
function cos¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 cos(
const bfloat16 & a
)
function tan¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 tan(
const bfloat16 & a
)
function asin¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 asin(
const bfloat16 & a
)
function acos¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 acos(
const bfloat16 & a
)
function atan¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 atan(
const bfloat16 & a
)
function sinh¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 sinh(
const bfloat16 & a
)
function cosh¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 cosh(
const bfloat16 & a
)
function tanh¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 tanh(
const bfloat16 & a
)
function floor¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 floor(
const bfloat16 & a
)
function ceil¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 ceil(
const bfloat16 & a
)
function rint¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 rint(
const bfloat16 & a
)
function round¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 round(
const bfloat16 & a
)
function fmod¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 fmod(
const bfloat16 & a,
const bfloat16 & b
)
function min¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16() min(
const bfloat16 & a,
const bfloat16 & b
)
function max¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16() max(
const bfloat16 & a,
const bfloat16 & b
)
function fmin¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 fmin(
const bfloat16 & a,
const bfloat16 & b
)
function fmax¶
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 fmax(
const bfloat16 & a,
const bfloat16 & b
)
function operator<<¶
EIGEN_ALWAYS_INLINE std::ostream & operator<<(
std::ostream & os,
const bfloat16 & v
)
Updated on 2023-11-29 at 18:22:19 +0000