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

Automatically split fused kernels by parameter memory limits #2075

Merged
merged 2 commits into from
Nov 8, 2024

Conversation

charleskawczynski
Copy link
Member

This PR leverages CliMA/MultiBroadcastFusion.jl#52, so that we can have:

@fused_assemble begin # (or many broadcast expressions using `@fused_direct`)
    for i in 1:100000
        @. x += y * z
    end
end

And this will automatically fuse as many kernels as permitted by the available parameter memory.

@charleskawczynski
Copy link
Member Author

Hm, let's split off the dependency updates

@charleskawczynski charleskawczynski merged commit 99132e0 into main Nov 8, 2024
12 of 13 checks passed
@charleskawczynski charleskawczynski deleted the ck/auto_kernel_splitting branch November 8, 2024 01:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant