pystencils.backend.ast.vector.PsVecBroadcast

pystencils.backend.ast.vector.PsVecBroadcast#

class pystencils.backend.ast.vector.PsVecBroadcast(lanes, operand)#

Broadcast a scalar value to N vector lanes.

Parameters:
_clone_expr()#

Implementation of expression cloning.

Return type:

PsVecBroadcast

structurally_equal(other)#

Check two ASTs for structural equality.

By default this method checks the node’s type and children. If an AST node has additional internal state, it MUST override this method.

Return type:

bool

Parameters:

other (PsAstNode)