|
__BF16_HOST_DEVICE_STATIC__ __hip_bfloat16 | __hadd (const __hip_bfloat16 a, const __hip_bfloat16 b) |
| Adds two bfloat16 values.
|
|
__BF16_HOST_DEVICE_STATIC__ __hip_bfloat16 | __hsub (const __hip_bfloat16 a, const __hip_bfloat16 b) |
| Subtracts two bfloat16 values.
|
|
__BF16_HOST_DEVICE_STATIC__ __hip_bfloat16 | __hdiv (const __hip_bfloat16 a, const __hip_bfloat16 b) |
| Divides two bfloat16 values.
|
|
__BF16_DEVICE_STATIC__ __hip_bfloat16 | __hfma (const __hip_bfloat16 a, const __hip_bfloat16 b, const __hip_bfloat16 c) |
| Performs FMA of given bfloat16 values.
|
|
__BF16_HOST_DEVICE_STATIC__ __hip_bfloat16 | __hmul (const __hip_bfloat16 a, const __hip_bfloat16 b) |
| Multiplies two bfloat16 values.
|
|
__BF16_HOST_DEVICE_STATIC__ __hip_bfloat16 | __hneg (const __hip_bfloat16 a) |
| Negate a bfloat16 value.
|
|
__BF16_HOST_DEVICE_STATIC__ __hip_bfloat16 | __habs (const __hip_bfloat16 a) |
| Returns absolute of a bfloat16.
|
|
__BF16_HOST_DEVICE_STATIC__ __hip_bfloat16 | operator* (const __hip_bfloat16 &l, const __hip_bfloat16 &r) |
| Operator to multiply two __hip_bfloat16 numbers.
|
|
__BF16_HOST_DEVICE_STATIC__ __hip_bfloat16 & | operator*= (__hip_bfloat16 &l, const __hip_bfloat16 &r) |
| Operator to multiply-assign two __hip_bfloat16 numbers.
|
|
__BF16_HOST_DEVICE_STATIC__ __hip_bfloat16 | operator+ (const __hip_bfloat16 &l) |
| Operator to unary+ on a __hip_bfloat16 number.
|
|
__BF16_HOST_DEVICE_STATIC__ __hip_bfloat16 | operator+ (const __hip_bfloat16 &l, const __hip_bfloat16 &r) |
| Operator to add two __hip_bfloat16 numbers.
|
|
__BF16_HOST_DEVICE_STATIC__ __hip_bfloat16 | operator- (const __hip_bfloat16 &l) |
| Operator to negate a __hip_bfloat16 number.
|
|
__BF16_HOST_DEVICE_STATIC__ __hip_bfloat16 | operator- (const __hip_bfloat16 &l, const __hip_bfloat16 &r) |
| Operator to subtract two __hip_bfloat16 numbers.
|
|
__BF16_HOST_DEVICE_STATIC__ __hip_bfloat16 | operator++ (__hip_bfloat16 &l, const int) |
| Operator to post increment a __hip_bfloat16 number.
|
|
__BF16_HOST_DEVICE_STATIC__ __hip_bfloat16 & | operator++ (__hip_bfloat16 &l) |
| Operator to pre increment a __hip_bfloat16 number.
|
|
__BF16_HOST_DEVICE_STATIC__ __hip_bfloat16 | operator-- (__hip_bfloat16 &l, const int) |
| Operator to post decrement a __hip_bfloat16 number.
|
|
__BF16_HOST_DEVICE_STATIC__ __hip_bfloat16 & | operator-- (__hip_bfloat16 &l) |
| Operator to pre decrement a __hip_bfloat16 number.
|
|
__BF16_HOST_DEVICE_STATIC__ __hip_bfloat16 & | operator+= (__hip_bfloat16 &l, const __hip_bfloat16 &r) |
| Operator to add-assign two __hip_bfloat16 numbers.
|
|
__BF16_HOST_DEVICE_STATIC__ __hip_bfloat16 & | operator-= (__hip_bfloat16 &l, const __hip_bfloat16 &r) |
| Operator to subtract-assign two __hip_bfloat16 numbers.
|
|
__BF16_HOST_DEVICE_STATIC__ __hip_bfloat16 | operator/ (const __hip_bfloat16 &l, const __hip_bfloat16 &r) |
| Operator to divide two __hip_bfloat16 numbers.
|
|
__BF16_HOST_DEVICE_STATIC__ __hip_bfloat16 & | operator/= (__hip_bfloat16 &l, const __hip_bfloat16 &r) |
| Operator to divide-assign two __hip_bfloat16 numbers.
|
|