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

Use lazy broadcasted expressions #5

Open
Sbozzolo opened this issue Apr 3, 2024 · 0 comments · May be fixed by #64
Open

Use lazy broadcasted expressions #5

Sbozzolo opened this issue Apr 3, 2024 · 0 comments · May be fixed by #64
Labels
enhancement New feature or request

Comments

@Sbozzolo
Copy link
Member

Sbozzolo commented Apr 3, 2024

Right now, users have to write code like:

        if isnothing(out)
            return copy(state.c.ρ)
        else
            out .= state.c.ρ
        end

This is very ugly. This pattern also is not amenable to fusing kernels.

@Sbozzolo Sbozzolo added this to the O1.2.5 1 SYPD for AMIP milestone Apr 19, 2024
@Sbozzolo Sbozzolo removed their assignment May 16, 2024
@Sbozzolo Sbozzolo linked a pull request Aug 14, 2024 that will close this issue
@Sbozzolo Sbozzolo removed this from the O1.2.5 1 SYPD for AMIP milestone Sep 9, 2024
@Sbozzolo Sbozzolo added the enhancement New feature or request label Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant