Skip to content

TransposeNode::propagate() improvements#479

Open
fastbodin wants to merge 1 commit intodwavesystems:mainfrom
fastbodin:enhancement/transposenode_convert_predecessor_index
Open

TransposeNode::propagate() improvements#479
fastbodin wants to merge 1 commit intodwavesystems:mainfrom
fastbodin:enhancement/transposenode_convert_predecessor_index

Conversation

@fastbodin
Copy link
Contributor

@fastbodin fastbodin commented Feb 23, 2026

TransposeNode::convert_predecessor_index() recomputed the same information (the number of indices of the predecessor node traversed by taking a stride along an axis) for each update. Since this node is already extremely lightweight (it's buffer is simply it's predecessors buffer), we can easily cache this data.

@fastbodin fastbodin changed the title TransposeNode propagate improvements TransposeNode propagate improvements Feb 23, 2026
@fastbodin fastbodin changed the title TransposeNode propagate improvements TransposeNode::propagate() improvements Feb 23, 2026
`TransposeNode::convert_predecessor_index()` recomputed the same
information (the number of indices of the predecessor node traversed by
taking a stride along an axis) for each update. Since this node is
already extremely lightweight (its buffer is simply its predecessor's
buffer), we can easily cache this data.
@fastbodin fastbodin force-pushed the enhancement/transposenode_convert_predecessor_index branch from ab2b583 to 5768e69 Compare February 24, 2026 01:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant