|
constexpr METAL_FUNC uint16_t | float_to_bfloat_bits (float x) |
|
constexpr METAL_FUNC float | bfloat_bits_to_float (uint16_t x) |
|
constexpr METAL_FUNC _MLX_BFloat16 | operator- (_MLX_BFloat16 x) |
|
constexpr METAL_FUNC _MLX_BFloat16 | operator+ (_MLX_BFloat16 lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC float | operator+ (_MLX_BFloat16 lhs, float rhs) |
|
constexpr METAL_FUNC float | operator+ (float lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC float | operator+ (_MLX_BFloat16 lhs, half rhs) |
|
constexpr METAL_FUNC float | operator+ (half lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC _MLX_BFloat16 | operator+ (_MLX_BFloat16 lhs, int32_t rhs) |
|
constexpr METAL_FUNC _MLX_BFloat16 | operator+ (int32_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC _MLX_BFloat16 | operator+ (_MLX_BFloat16 lhs, uint32_t rhs) |
|
constexpr METAL_FUNC _MLX_BFloat16 | operator+ (uint32_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC _MLX_BFloat16 | operator+ (_MLX_BFloat16 lhs, int64_t rhs) |
|
constexpr METAL_FUNC _MLX_BFloat16 | operator+ (int64_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC _MLX_BFloat16 | operator+ (_MLX_BFloat16 lhs, uint64_t rhs) |
|
constexpr METAL_FUNC _MLX_BFloat16 | operator+ (uint64_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC _MLX_BFloat16 | operator- (_MLX_BFloat16 lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC float | operator- (_MLX_BFloat16 lhs, float rhs) |
|
constexpr METAL_FUNC float | operator- (float lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC float | operator- (_MLX_BFloat16 lhs, half rhs) |
|
constexpr METAL_FUNC float | operator- (half lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC _MLX_BFloat16 | operator- (_MLX_BFloat16 lhs, int32_t rhs) |
|
constexpr METAL_FUNC _MLX_BFloat16 | operator- (int32_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC _MLX_BFloat16 | operator- (_MLX_BFloat16 lhs, uint32_t rhs) |
|
constexpr METAL_FUNC _MLX_BFloat16 | operator- (uint32_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC _MLX_BFloat16 | operator- (_MLX_BFloat16 lhs, int64_t rhs) |
|
constexpr METAL_FUNC _MLX_BFloat16 | operator- (int64_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC _MLX_BFloat16 | operator- (_MLX_BFloat16 lhs, uint64_t rhs) |
|
constexpr METAL_FUNC _MLX_BFloat16 | operator- (uint64_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC _MLX_BFloat16 | operator* (_MLX_BFloat16 lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC float | operator* (_MLX_BFloat16 lhs, float rhs) |
|
constexpr METAL_FUNC float | operator* (float lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC float | operator* (_MLX_BFloat16 lhs, half rhs) |
|
constexpr METAL_FUNC float | operator* (half lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC _MLX_BFloat16 | operator* (_MLX_BFloat16 lhs, int32_t rhs) |
|
constexpr METAL_FUNC _MLX_BFloat16 | operator* (int32_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC _MLX_BFloat16 | operator* (_MLX_BFloat16 lhs, uint32_t rhs) |
|
constexpr METAL_FUNC _MLX_BFloat16 | operator* (uint32_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC _MLX_BFloat16 | operator* (_MLX_BFloat16 lhs, int64_t rhs) |
|
constexpr METAL_FUNC _MLX_BFloat16 | operator* (int64_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC _MLX_BFloat16 | operator* (_MLX_BFloat16 lhs, uint64_t rhs) |
|
constexpr METAL_FUNC _MLX_BFloat16 | operator* (uint64_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC _MLX_BFloat16 | operator/ (_MLX_BFloat16 lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC float | operator/ (_MLX_BFloat16 lhs, float rhs) |
|
constexpr METAL_FUNC float | operator/ (float lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC float | operator/ (_MLX_BFloat16 lhs, half rhs) |
|
constexpr METAL_FUNC float | operator/ (half lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC _MLX_BFloat16 | operator/ (_MLX_BFloat16 lhs, int32_t rhs) |
|
constexpr METAL_FUNC _MLX_BFloat16 | operator/ (int32_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC _MLX_BFloat16 | operator/ (_MLX_BFloat16 lhs, uint32_t rhs) |
|
constexpr METAL_FUNC _MLX_BFloat16 | operator/ (uint32_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC _MLX_BFloat16 | operator/ (_MLX_BFloat16 lhs, int64_t rhs) |
|
constexpr METAL_FUNC _MLX_BFloat16 | operator/ (int64_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC _MLX_BFloat16 | operator/ (_MLX_BFloat16 lhs, uint64_t rhs) |
|
constexpr METAL_FUNC _MLX_BFloat16 | operator/ (uint64_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator> (_MLX_BFloat16 lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator> (_MLX_BFloat16 lhs, float rhs) |
|
constexpr METAL_FUNC bool | operator> (float lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator> (_MLX_BFloat16 lhs, half rhs) |
|
constexpr METAL_FUNC bool | operator> (half lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator> (_MLX_BFloat16 lhs, int32_t rhs) |
|
constexpr METAL_FUNC bool | operator> (int32_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator> (_MLX_BFloat16 lhs, uint32_t rhs) |
|
constexpr METAL_FUNC bool | operator> (uint32_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator> (_MLX_BFloat16 lhs, int64_t rhs) |
|
constexpr METAL_FUNC bool | operator> (int64_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator> (_MLX_BFloat16 lhs, uint64_t rhs) |
|
constexpr METAL_FUNC bool | operator> (uint64_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator< (_MLX_BFloat16 lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator< (_MLX_BFloat16 lhs, float rhs) |
|
constexpr METAL_FUNC bool | operator< (float lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator< (_MLX_BFloat16 lhs, half rhs) |
|
constexpr METAL_FUNC bool | operator< (half lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator< (_MLX_BFloat16 lhs, int32_t rhs) |
|
constexpr METAL_FUNC bool | operator< (int32_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator< (_MLX_BFloat16 lhs, uint32_t rhs) |
|
constexpr METAL_FUNC bool | operator< (uint32_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator< (_MLX_BFloat16 lhs, int64_t rhs) |
|
constexpr METAL_FUNC bool | operator< (int64_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator< (_MLX_BFloat16 lhs, uint64_t rhs) |
|
constexpr METAL_FUNC bool | operator< (uint64_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator>= (_MLX_BFloat16 lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator>= (_MLX_BFloat16 lhs, float rhs) |
|
constexpr METAL_FUNC bool | operator>= (float lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator>= (_MLX_BFloat16 lhs, half rhs) |
|
constexpr METAL_FUNC bool | operator>= (half lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator>= (_MLX_BFloat16 lhs, int32_t rhs) |
|
constexpr METAL_FUNC bool | operator>= (int32_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator>= (_MLX_BFloat16 lhs, uint32_t rhs) |
|
constexpr METAL_FUNC bool | operator>= (uint32_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator>= (_MLX_BFloat16 lhs, int64_t rhs) |
|
constexpr METAL_FUNC bool | operator>= (int64_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator>= (_MLX_BFloat16 lhs, uint64_t rhs) |
|
constexpr METAL_FUNC bool | operator>= (uint64_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator<= (_MLX_BFloat16 lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator<= (_MLX_BFloat16 lhs, float rhs) |
|
constexpr METAL_FUNC bool | operator<= (float lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator<= (_MLX_BFloat16 lhs, half rhs) |
|
constexpr METAL_FUNC bool | operator<= (half lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator<= (_MLX_BFloat16 lhs, int32_t rhs) |
|
constexpr METAL_FUNC bool | operator<= (int32_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator<= (_MLX_BFloat16 lhs, uint32_t rhs) |
|
constexpr METAL_FUNC bool | operator<= (uint32_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator<= (_MLX_BFloat16 lhs, int64_t rhs) |
|
constexpr METAL_FUNC bool | operator<= (int64_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator<= (_MLX_BFloat16 lhs, uint64_t rhs) |
|
constexpr METAL_FUNC bool | operator<= (uint64_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator== (_MLX_BFloat16 lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator== (_MLX_BFloat16 lhs, float rhs) |
|
constexpr METAL_FUNC bool | operator== (float lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator== (_MLX_BFloat16 lhs, half rhs) |
|
constexpr METAL_FUNC bool | operator== (half lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator== (_MLX_BFloat16 lhs, int32_t rhs) |
|
constexpr METAL_FUNC bool | operator== (int32_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator== (_MLX_BFloat16 lhs, uint32_t rhs) |
|
constexpr METAL_FUNC bool | operator== (uint32_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator== (_MLX_BFloat16 lhs, int64_t rhs) |
|
constexpr METAL_FUNC bool | operator== (int64_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator== (_MLX_BFloat16 lhs, uint64_t rhs) |
|
constexpr METAL_FUNC bool | operator== (uint64_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator!= (_MLX_BFloat16 lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator!= (_MLX_BFloat16 lhs, float rhs) |
|
constexpr METAL_FUNC bool | operator!= (float lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator!= (_MLX_BFloat16 lhs, half rhs) |
|
constexpr METAL_FUNC bool | operator!= (half lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator!= (_MLX_BFloat16 lhs, int32_t rhs) |
|
constexpr METAL_FUNC bool | operator!= (int32_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator!= (_MLX_BFloat16 lhs, uint32_t rhs) |
|
constexpr METAL_FUNC bool | operator!= (uint32_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator!= (_MLX_BFloat16 lhs, int64_t rhs) |
|
constexpr METAL_FUNC bool | operator!= (int64_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC bool | operator!= (_MLX_BFloat16 lhs, uint64_t rhs) |
|
constexpr METAL_FUNC bool | operator!= (uint64_t lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC device _MLX_BFloat16 & | operator+= (device _MLX_BFloat16 &lhs, float rhs) |
|
constexpr METAL_FUNC device float & | operator+= (device float &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC thread _MLX_BFloat16 & | operator+= (thread _MLX_BFloat16 &lhs, float rhs) |
|
constexpr METAL_FUNC thread float & | operator+= (thread float &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC threadgroup _MLX_BFloat16 & | operator+= (threadgroup _MLX_BFloat16 &lhs, float rhs) |
|
constexpr METAL_FUNC threadgroup float & | operator+= (threadgroup float &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC device _MLX_BFloat16 & | operator-= (device _MLX_BFloat16 &lhs, float rhs) |
|
constexpr METAL_FUNC device float & | operator-= (device float &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC thread _MLX_BFloat16 & | operator-= (thread _MLX_BFloat16 &lhs, float rhs) |
|
constexpr METAL_FUNC thread float & | operator-= (thread float &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC threadgroup _MLX_BFloat16 & | operator-= (threadgroup _MLX_BFloat16 &lhs, float rhs) |
|
constexpr METAL_FUNC threadgroup float & | operator-= (threadgroup float &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC device _MLX_BFloat16 & | operator*= (device _MLX_BFloat16 &lhs, float rhs) |
|
constexpr METAL_FUNC device float & | operator*= (device float &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC thread _MLX_BFloat16 & | operator*= (thread _MLX_BFloat16 &lhs, float rhs) |
|
constexpr METAL_FUNC thread float & | operator*= (thread float &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC threadgroup _MLX_BFloat16 & | operator*= (threadgroup _MLX_BFloat16 &lhs, float rhs) |
|
constexpr METAL_FUNC threadgroup float & | operator*= (threadgroup float &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC device _MLX_BFloat16 & | operator/= (device _MLX_BFloat16 &lhs, float rhs) |
|
constexpr METAL_FUNC device float & | operator/= (device float &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC thread _MLX_BFloat16 & | operator/= (thread _MLX_BFloat16 &lhs, float rhs) |
|
constexpr METAL_FUNC thread float & | operator/= (thread float &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC threadgroup _MLX_BFloat16 & | operator/= (threadgroup _MLX_BFloat16 &lhs, float rhs) |
|
constexpr METAL_FUNC threadgroup float & | operator/= (threadgroup float &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC device _MLX_BFloat16 & | operator+= (device _MLX_BFloat16 &lhs, half rhs) |
|
constexpr METAL_FUNC device half & | operator+= (device half &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC thread _MLX_BFloat16 & | operator+= (thread _MLX_BFloat16 &lhs, half rhs) |
|
constexpr METAL_FUNC thread half & | operator+= (thread half &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC threadgroup _MLX_BFloat16 & | operator+= (threadgroup _MLX_BFloat16 &lhs, half rhs) |
|
constexpr METAL_FUNC threadgroup half & | operator+= (threadgroup half &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC device _MLX_BFloat16 & | operator-= (device _MLX_BFloat16 &lhs, half rhs) |
|
constexpr METAL_FUNC device half & | operator-= (device half &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC thread _MLX_BFloat16 & | operator-= (thread _MLX_BFloat16 &lhs, half rhs) |
|
constexpr METAL_FUNC thread half & | operator-= (thread half &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC threadgroup _MLX_BFloat16 & | operator-= (threadgroup _MLX_BFloat16 &lhs, half rhs) |
|
constexpr METAL_FUNC threadgroup half & | operator-= (threadgroup half &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC device _MLX_BFloat16 & | operator*= (device _MLX_BFloat16 &lhs, half rhs) |
|
constexpr METAL_FUNC device half & | operator*= (device half &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC thread _MLX_BFloat16 & | operator*= (thread _MLX_BFloat16 &lhs, half rhs) |
|
constexpr METAL_FUNC thread half & | operator*= (thread half &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC threadgroup _MLX_BFloat16 & | operator*= (threadgroup _MLX_BFloat16 &lhs, half rhs) |
|
constexpr METAL_FUNC threadgroup half & | operator*= (threadgroup half &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC device _MLX_BFloat16 & | operator/= (device _MLX_BFloat16 &lhs, half rhs) |
|
constexpr METAL_FUNC device half & | operator/= (device half &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC thread _MLX_BFloat16 & | operator/= (thread _MLX_BFloat16 &lhs, half rhs) |
|
constexpr METAL_FUNC thread half & | operator/= (thread half &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC threadgroup _MLX_BFloat16 & | operator/= (threadgroup _MLX_BFloat16 &lhs, half rhs) |
|
constexpr METAL_FUNC threadgroup half & | operator/= (threadgroup half &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC device _MLX_BFloat16 & | operator+= (device _MLX_BFloat16 &lhs, int16_t rhs) |
|
constexpr METAL_FUNC device int16_t & | operator+= (device int16_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC thread _MLX_BFloat16 & | operator+= (thread _MLX_BFloat16 &lhs, int16_t rhs) |
|
constexpr METAL_FUNC thread int16_t & | operator+= (thread int16_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC threadgroup _MLX_BFloat16 & | operator+= (threadgroup _MLX_BFloat16 &lhs, int16_t rhs) |
|
constexpr METAL_FUNC threadgroup int16_t & | operator+= (threadgroup int16_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC device _MLX_BFloat16 & | operator-= (device _MLX_BFloat16 &lhs, int16_t rhs) |
|
constexpr METAL_FUNC device int16_t & | operator-= (device int16_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC thread _MLX_BFloat16 & | operator-= (thread _MLX_BFloat16 &lhs, int16_t rhs) |
|
constexpr METAL_FUNC thread int16_t & | operator-= (thread int16_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC threadgroup _MLX_BFloat16 & | operator-= (threadgroup _MLX_BFloat16 &lhs, int16_t rhs) |
|
constexpr METAL_FUNC threadgroup int16_t & | operator-= (threadgroup int16_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC device _MLX_BFloat16 & | operator*= (device _MLX_BFloat16 &lhs, int16_t rhs) |
|
constexpr METAL_FUNC device int16_t & | operator*= (device int16_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC thread _MLX_BFloat16 & | operator*= (thread _MLX_BFloat16 &lhs, int16_t rhs) |
|
constexpr METAL_FUNC thread int16_t & | operator*= (thread int16_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC threadgroup _MLX_BFloat16 & | operator*= (threadgroup _MLX_BFloat16 &lhs, int16_t rhs) |
|
constexpr METAL_FUNC threadgroup int16_t & | operator*= (threadgroup int16_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC device _MLX_BFloat16 & | operator/= (device _MLX_BFloat16 &lhs, int16_t rhs) |
|
constexpr METAL_FUNC device int16_t & | operator/= (device int16_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC thread _MLX_BFloat16 & | operator/= (thread _MLX_BFloat16 &lhs, int16_t rhs) |
|
constexpr METAL_FUNC thread int16_t & | operator/= (thread int16_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC threadgroup _MLX_BFloat16 & | operator/= (threadgroup _MLX_BFloat16 &lhs, int16_t rhs) |
|
constexpr METAL_FUNC threadgroup int16_t & | operator/= (threadgroup int16_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC device _MLX_BFloat16 & | operator+= (device _MLX_BFloat16 &lhs, int32_t rhs) |
|
constexpr METAL_FUNC device int32_t & | operator+= (device int32_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC thread _MLX_BFloat16 & | operator+= (thread _MLX_BFloat16 &lhs, int32_t rhs) |
|
constexpr METAL_FUNC thread int32_t & | operator+= (thread int32_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC threadgroup _MLX_BFloat16 & | operator+= (threadgroup _MLX_BFloat16 &lhs, int32_t rhs) |
|
constexpr METAL_FUNC threadgroup int32_t & | operator+= (threadgroup int32_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC device _MLX_BFloat16 & | operator-= (device _MLX_BFloat16 &lhs, int32_t rhs) |
|
constexpr METAL_FUNC device int32_t & | operator-= (device int32_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC thread _MLX_BFloat16 & | operator-= (thread _MLX_BFloat16 &lhs, int32_t rhs) |
|
constexpr METAL_FUNC thread int32_t & | operator-= (thread int32_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC threadgroup _MLX_BFloat16 & | operator-= (threadgroup _MLX_BFloat16 &lhs, int32_t rhs) |
|
constexpr METAL_FUNC threadgroup int32_t & | operator-= (threadgroup int32_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC device _MLX_BFloat16 & | operator*= (device _MLX_BFloat16 &lhs, int32_t rhs) |
|
constexpr METAL_FUNC device int32_t & | operator*= (device int32_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC thread _MLX_BFloat16 & | operator*= (thread _MLX_BFloat16 &lhs, int32_t rhs) |
|
constexpr METAL_FUNC thread int32_t & | operator*= (thread int32_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC threadgroup _MLX_BFloat16 & | operator*= (threadgroup _MLX_BFloat16 &lhs, int32_t rhs) |
|
constexpr METAL_FUNC threadgroup int32_t & | operator*= (threadgroup int32_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC device _MLX_BFloat16 & | operator/= (device _MLX_BFloat16 &lhs, int32_t rhs) |
|
constexpr METAL_FUNC device int32_t & | operator/= (device int32_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC thread _MLX_BFloat16 & | operator/= (thread _MLX_BFloat16 &lhs, int32_t rhs) |
|
constexpr METAL_FUNC thread int32_t & | operator/= (thread int32_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC threadgroup _MLX_BFloat16 & | operator/= (threadgroup _MLX_BFloat16 &lhs, int32_t rhs) |
|
constexpr METAL_FUNC threadgroup int32_t & | operator/= (threadgroup int32_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC device _MLX_BFloat16 & | operator+= (device _MLX_BFloat16 &lhs, int64_t rhs) |
|
constexpr METAL_FUNC device int64_t & | operator+= (device int64_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC thread _MLX_BFloat16 & | operator+= (thread _MLX_BFloat16 &lhs, int64_t rhs) |
|
constexpr METAL_FUNC thread int64_t & | operator+= (thread int64_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC threadgroup _MLX_BFloat16 & | operator+= (threadgroup _MLX_BFloat16 &lhs, int64_t rhs) |
|
constexpr METAL_FUNC threadgroup int64_t & | operator+= (threadgroup int64_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC device _MLX_BFloat16 & | operator-= (device _MLX_BFloat16 &lhs, int64_t rhs) |
|
constexpr METAL_FUNC device int64_t & | operator-= (device int64_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC thread _MLX_BFloat16 & | operator-= (thread _MLX_BFloat16 &lhs, int64_t rhs) |
|
constexpr METAL_FUNC thread int64_t & | operator-= (thread int64_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC threadgroup _MLX_BFloat16 & | operator-= (threadgroup _MLX_BFloat16 &lhs, int64_t rhs) |
|
constexpr METAL_FUNC threadgroup int64_t & | operator-= (threadgroup int64_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC device _MLX_BFloat16 & | operator*= (device _MLX_BFloat16 &lhs, int64_t rhs) |
|
constexpr METAL_FUNC device int64_t & | operator*= (device int64_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC thread _MLX_BFloat16 & | operator*= (thread _MLX_BFloat16 &lhs, int64_t rhs) |
|
constexpr METAL_FUNC thread int64_t & | operator*= (thread int64_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC threadgroup _MLX_BFloat16 & | operator*= (threadgroup _MLX_BFloat16 &lhs, int64_t rhs) |
|
constexpr METAL_FUNC threadgroup int64_t & | operator*= (threadgroup int64_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC device _MLX_BFloat16 & | operator/= (device _MLX_BFloat16 &lhs, int64_t rhs) |
|
constexpr METAL_FUNC device int64_t & | operator/= (device int64_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC thread _MLX_BFloat16 & | operator/= (thread _MLX_BFloat16 &lhs, int64_t rhs) |
|
constexpr METAL_FUNC thread int64_t & | operator/= (thread int64_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC threadgroup _MLX_BFloat16 & | operator/= (threadgroup _MLX_BFloat16 &lhs, int64_t rhs) |
|
constexpr METAL_FUNC threadgroup int64_t & | operator/= (threadgroup int64_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC device _MLX_BFloat16 & | operator+= (device _MLX_BFloat16 &lhs, uint16_t rhs) |
|
constexpr METAL_FUNC device uint16_t & | operator+= (device uint16_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC thread _MLX_BFloat16 & | operator+= (thread _MLX_BFloat16 &lhs, uint16_t rhs) |
|
constexpr METAL_FUNC thread uint16_t & | operator+= (thread uint16_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC threadgroup _MLX_BFloat16 & | operator+= (threadgroup _MLX_BFloat16 &lhs, uint16_t rhs) |
|
constexpr METAL_FUNC threadgroup uint16_t & | operator+= (threadgroup uint16_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC device _MLX_BFloat16 & | operator-= (device _MLX_BFloat16 &lhs, uint16_t rhs) |
|
constexpr METAL_FUNC device uint16_t & | operator-= (device uint16_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC thread _MLX_BFloat16 & | operator-= (thread _MLX_BFloat16 &lhs, uint16_t rhs) |
|
constexpr METAL_FUNC thread uint16_t & | operator-= (thread uint16_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC threadgroup _MLX_BFloat16 & | operator-= (threadgroup _MLX_BFloat16 &lhs, uint16_t rhs) |
|
constexpr METAL_FUNC threadgroup uint16_t & | operator-= (threadgroup uint16_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC device _MLX_BFloat16 & | operator*= (device _MLX_BFloat16 &lhs, uint16_t rhs) |
|
constexpr METAL_FUNC device uint16_t & | operator*= (device uint16_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC thread _MLX_BFloat16 & | operator*= (thread _MLX_BFloat16 &lhs, uint16_t rhs) |
|
constexpr METAL_FUNC thread uint16_t & | operator*= (thread uint16_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC threadgroup _MLX_BFloat16 & | operator*= (threadgroup _MLX_BFloat16 &lhs, uint16_t rhs) |
|
constexpr METAL_FUNC threadgroup uint16_t & | operator*= (threadgroup uint16_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC device _MLX_BFloat16 & | operator/= (device _MLX_BFloat16 &lhs, uint16_t rhs) |
|
constexpr METAL_FUNC device uint16_t & | operator/= (device uint16_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC thread _MLX_BFloat16 & | operator/= (thread _MLX_BFloat16 &lhs, uint16_t rhs) |
|
constexpr METAL_FUNC thread uint16_t & | operator/= (thread uint16_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC threadgroup _MLX_BFloat16 & | operator/= (threadgroup _MLX_BFloat16 &lhs, uint16_t rhs) |
|
constexpr METAL_FUNC threadgroup uint16_t & | operator/= (threadgroup uint16_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC device _MLX_BFloat16 & | operator+= (device _MLX_BFloat16 &lhs, uint32_t rhs) |
|
constexpr METAL_FUNC device uint32_t & | operator+= (device uint32_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC thread _MLX_BFloat16 & | operator+= (thread _MLX_BFloat16 &lhs, uint32_t rhs) |
|
constexpr METAL_FUNC thread uint32_t & | operator+= (thread uint32_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC threadgroup _MLX_BFloat16 & | operator+= (threadgroup _MLX_BFloat16 &lhs, uint32_t rhs) |
|
constexpr METAL_FUNC threadgroup uint32_t & | operator+= (threadgroup uint32_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC device _MLX_BFloat16 & | operator-= (device _MLX_BFloat16 &lhs, uint32_t rhs) |
|
constexpr METAL_FUNC device uint32_t & | operator-= (device uint32_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC thread _MLX_BFloat16 & | operator-= (thread _MLX_BFloat16 &lhs, uint32_t rhs) |
|
constexpr METAL_FUNC thread uint32_t & | operator-= (thread uint32_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC threadgroup _MLX_BFloat16 & | operator-= (threadgroup _MLX_BFloat16 &lhs, uint32_t rhs) |
|
constexpr METAL_FUNC threadgroup uint32_t & | operator-= (threadgroup uint32_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC device _MLX_BFloat16 & | operator*= (device _MLX_BFloat16 &lhs, uint32_t rhs) |
|
constexpr METAL_FUNC device uint32_t & | operator*= (device uint32_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC thread _MLX_BFloat16 & | operator*= (thread _MLX_BFloat16 &lhs, uint32_t rhs) |
|
constexpr METAL_FUNC thread uint32_t & | operator*= (thread uint32_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC threadgroup _MLX_BFloat16 & | operator*= (threadgroup _MLX_BFloat16 &lhs, uint32_t rhs) |
|
constexpr METAL_FUNC threadgroup uint32_t & | operator*= (threadgroup uint32_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC device _MLX_BFloat16 & | operator/= (device _MLX_BFloat16 &lhs, uint32_t rhs) |
|
constexpr METAL_FUNC device uint32_t & | operator/= (device uint32_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC thread _MLX_BFloat16 & | operator/= (thread _MLX_BFloat16 &lhs, uint32_t rhs) |
|
constexpr METAL_FUNC thread uint32_t & | operator/= (thread uint32_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC threadgroup _MLX_BFloat16 & | operator/= (threadgroup _MLX_BFloat16 &lhs, uint32_t rhs) |
|
constexpr METAL_FUNC threadgroup uint32_t & | operator/= (threadgroup uint32_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC device _MLX_BFloat16 & | operator+= (device _MLX_BFloat16 &lhs, uint64_t rhs) |
|
constexpr METAL_FUNC device uint64_t & | operator+= (device uint64_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC thread _MLX_BFloat16 & | operator+= (thread _MLX_BFloat16 &lhs, uint64_t rhs) |
|
constexpr METAL_FUNC thread uint64_t & | operator+= (thread uint64_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC threadgroup _MLX_BFloat16 & | operator+= (threadgroup _MLX_BFloat16 &lhs, uint64_t rhs) |
|
constexpr METAL_FUNC threadgroup uint64_t & | operator+= (threadgroup uint64_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC device _MLX_BFloat16 & | operator-= (device _MLX_BFloat16 &lhs, uint64_t rhs) |
|
constexpr METAL_FUNC device uint64_t & | operator-= (device uint64_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC thread _MLX_BFloat16 & | operator-= (thread _MLX_BFloat16 &lhs, uint64_t rhs) |
|
constexpr METAL_FUNC thread uint64_t & | operator-= (thread uint64_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC threadgroup _MLX_BFloat16 & | operator-= (threadgroup _MLX_BFloat16 &lhs, uint64_t rhs) |
|
constexpr METAL_FUNC threadgroup uint64_t & | operator-= (threadgroup uint64_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC device _MLX_BFloat16 & | operator*= (device _MLX_BFloat16 &lhs, uint64_t rhs) |
|
constexpr METAL_FUNC device uint64_t & | operator*= (device uint64_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC thread _MLX_BFloat16 & | operator*= (thread _MLX_BFloat16 &lhs, uint64_t rhs) |
|
constexpr METAL_FUNC thread uint64_t & | operator*= (thread uint64_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC threadgroup _MLX_BFloat16 & | operator*= (threadgroup _MLX_BFloat16 &lhs, uint64_t rhs) |
|
constexpr METAL_FUNC threadgroup uint64_t & | operator*= (threadgroup uint64_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC device _MLX_BFloat16 & | operator/= (device _MLX_BFloat16 &lhs, uint64_t rhs) |
|
constexpr METAL_FUNC device uint64_t & | operator/= (device uint64_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC thread _MLX_BFloat16 & | operator/= (thread _MLX_BFloat16 &lhs, uint64_t rhs) |
|
constexpr METAL_FUNC thread uint64_t & | operator/= (thread uint64_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC threadgroup _MLX_BFloat16 & | operator/= (threadgroup _MLX_BFloat16 &lhs, uint64_t rhs) |
|
constexpr METAL_FUNC threadgroup uint64_t & | operator/= (threadgroup uint64_t &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC device _MLX_BFloat16 & | operator+= (device _MLX_BFloat16 &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC thread _MLX_BFloat16 & | operator+= (thread _MLX_BFloat16 &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC threadgroup _MLX_BFloat16 & | operator+= (threadgroup _MLX_BFloat16 &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC device _MLX_BFloat16 & | operator-= (device _MLX_BFloat16 &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC thread _MLX_BFloat16 & | operator-= (thread _MLX_BFloat16 &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC threadgroup _MLX_BFloat16 & | operator-= (threadgroup _MLX_BFloat16 &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC device _MLX_BFloat16 & | operator*= (device _MLX_BFloat16 &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC thread _MLX_BFloat16 & | operator*= (thread _MLX_BFloat16 &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC threadgroup _MLX_BFloat16 & | operator*= (threadgroup _MLX_BFloat16 &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC device _MLX_BFloat16 & | operator/= (device _MLX_BFloat16 &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC thread _MLX_BFloat16 & | operator/= (thread _MLX_BFloat16 &lhs, _MLX_BFloat16 rhs) |
|
constexpr METAL_FUNC threadgroup _MLX_BFloat16 & | operator/= (threadgroup _MLX_BFloat16 &lhs, _MLX_BFloat16 rhs) |
|
METAL_FUNC bool | metal::isnan (_MLX_BFloat16 x) |
|