Skip to main content

Mojo function

hmul2_bf16x8_by_scalar

hmul2_bf16x8_by_scalar[out_dtype: DType](packed: SIMD[DType.uint32, 4], scale_bf16: UInt32) -> SIMD[DType.uint32, 4]

Multiply 8 packed bf16 values (in 4 uint32 registers) by a bf16x2 scalar broadcast.

Returns:

SIMD

Was this page helpful?