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

Initial Oceananigans Kernel #499

Open
wsmoses opened this issue Jan 8, 2025 · 1 comment
Open

Initial Oceananigans Kernel #499

wsmoses opened this issue Jan 8, 2025 · 1 comment

Comments

@wsmoses
Copy link
Member

wsmoses commented Jan 8, 2025

This requries the fix for tracing as discussed on slack with @mofeing @jumerckx and others.

But assume that is resolved, and also llvm/llvm-project#121987 lands (cc @ftynse @ivanradanov @glwagner ) here is the IR.

ocean.mlir.txt

Per other conversation @ftynse we clearly need to figure out the SROA of those constants from the ABI shim (and inlining). Then from there we can start to do @ivanradanov's polyhedral optimizations.

@wsmoses
Copy link
Member Author

wsmoses commented Jan 9, 2025

Now with the various actually correct calling convention (and hopefully just one nv_sin)

ocean2.mlir.txt

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

No branches or pull requests

1 participant