Skip to content
Snippets Groups Projects
Commit da00b78f authored by Frederik Hennig's avatar Frederik Hennig Committed by Richard Angersbach
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent 3010daed
No related branches found
No related tags found
1 merge request!438Reduction Support
Pipeline #78270 passed
......@@ -41,10 +41,9 @@ class PsVecBroadcast(PsUnOp, PsVectorOp):
class PsVecHorizontal(PsBinOp, PsVectorOp):
"""Represents a binary operation between a scalar and a vector operand.
With the binary operation not being vectorized, a horizontal reduction
along the lanes of the vector operand is required to extract a scalar value.
The result type will be equal to the scalar operand.
"""Perform a horizontal reduction across a vector onto a scalar base value.
**Example:** vec_horizontal_add(s, v)` will compute `s + v[0] + v[1] + ... + v[n-1]`.
Args:
scalar_operand: Scalar operand
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment