Skip to content

arbitrary map/reduce operators#49

Draft
cg592 wants to merge 1 commit into
Accelergy-Project:mainfrom
cg592:upstream-pr-flexibleops
Draft

arbitrary map/reduce operators#49
cg592 wants to merge 1 commit into
Accelergy-Project:mainfrom
cg592:upstream-pr-flexibleops

Conversation

@cg592

@cg592 cg592 commented Jun 12, 2026

Copy link
Copy Markdown

This commit adds support for arbitrary map/reduce operators. Each Einsum can specify it's operators, and architecture specs can specify the compute operations supported by a compute unit. Compute hardware support is checked before mapping a compute action to it.

If the operators are 'mul' and 'add' (default), then they are automatically fused into one 'mac' operation so that operations are not counted separately for map and reduce. Default architecture behavior is to support 'mac' ops, so zero changes are needed to existing workloads or architectures and all results match exactly.

This commit also adds an example workload (tropical_gemm.yaml) and architecture (simple_add_max.yaml) that demonstrates the new behavior.

@cg592 cg592 marked this pull request as draft June 12, 2026 19:14
@cg592 cg592 force-pushed the upstream-pr-flexibleops branch from e1515b4 to a695267 Compare June 12, 2026 19:39
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