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

column_integral_definite! causes StackOverflow on gpu #1376

Closed
charleskawczynski opened this issue Jul 14, 2023 · 3 comments · Fixed by #1380
Closed

column_integral_definite! causes StackOverflow on gpu #1376

charleskawczynski opened this issue Jul 14, 2023 · 3 comments · Fixed by #1380
Assignees
Labels
bug Something isn't working

Comments

@charleskawczynski
Copy link
Member

column_integral_definite! causes a StackOverflow on the gpu due to its function definition:

function column_integral_definite!(col∫field::Fields.Field, field::Fields.Field)
    Fields.bycolumn(axes(field)) do colidx
        column_integral_definite!(col∫field[colidx], field[colidx])
        nothing
    end
    return nothing
end

This is the next issue we're hitting for moisture cases cc @simonbyrne

@charleskawczynski charleskawczynski added the bug Something isn't working label Jul 14, 2023
@charleskawczynski
Copy link
Member Author

@simonbyrne
Copy link
Member

It looks like it is recursively calling itself. We need a version which passes through hidx

@charleskawczynski
Copy link
Member Author

Yeah, it currently relies on bycolumn actually doing something

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants