Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mlir: Modify BatchOpInterface to allow generating more than one operation #2142

Merged
merged 3 commits into from
Nov 4, 2024

Conversation

Pangoraw
Copy link
Contributor

@Pangoraw Pangoraw commented Nov 2, 2024

This PR modifies the BatchOpInterface to enable generating multiple operations and then map from the original results to new values. To do this, batchSizes support is removed in the original Enzyme MLIR cloning and batch cloning is implemented on its own.

See EnzymeAD/Enzyme-JAX#149 (comment) for more context.

@wsmoses
Copy link
Member

wsmoses commented Nov 3, 2024

@Pangoraw I think you need to fix the clang-format for it to pass

@wsmoses wsmoses merged commit f1f4d8e into EnzymeAD:main Nov 4, 2024
13 of 24 checks passed
@Pangoraw Pangoraw deleted the batch-pass branch November 4, 2024 15:14
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.

2 participants