Skip to content

Basic Kernel Fusion#119

Draft
ejmeitz wants to merge 8 commits intomainfrom
fusion-again
Draft

Basic Kernel Fusion#119
ejmeitz wants to merge 8 commits intomainfrom
fusion-again

Conversation

@ejmeitz
Copy link
Copy Markdown
Member

@ejmeitz ejmeitz commented Apr 24, 2026

The goal of this PR is to support the fusion of broadcast expressions with unary & binary operations. Really any intrinsic you could use in a CUDA kernel.

@fuse y .= sin.(x)
@fuse z = x .+ y .* z
w = @fuse x .+ y .+ z

The idea is to fuse and cache the generated kernels. This PR does not aim to support fusion of functions. That will be a future PR.

@ejmeitz ejmeitz marked this pull request as draft April 24, 2026 18: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.

1 participant