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

QFunction multi source support #841

Merged
merged 10 commits into from
Nov 18, 2021
Merged

QFunction multi source support #841

merged 10 commits into from
Nov 18, 2021

Conversation

jeremylt
Copy link
Member

@jeremylt jeremylt commented Nov 10, 2021

This PR adds support for multiple QFunction source files.

See the new t406-qfunction for usage.

I think further downstream consequences of the new CeedLoadSourceToBuffer() should be put in a downstream PR.

This the bulk of what was in #826, but with some of the possible downstream changes removed. The minor changes to the debugging macros went into #840.

@jeremylt
Copy link
Member Author

This one change should be ready to merge. Future changes related to the design of GPU backends can be captured in the refactor discussed in #839.

Copy link
Contributor

@nbeams nbeams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm fine with this as a step to go ahead and add the desired new feature (multi-file QFunction support) while limiting the scope of the PR. At first I wasn't sure how I felt about elevating the LoadSourceToBuffer to the interface level since it's only used for GPU backends, but we already do that in, e.g., CeedVectorSyncArray, which is only really needed for GPU backends, as well, so I think it's fine.

doc/sphinx/source/releasenotes.md Outdated Show resolved Hide resolved
@jeremylt jeremylt force-pushed the jeremy/qf-multi-source branch from 1967cb5 to 30601ac Compare November 18, 2021 00:33
tests/t406-qfunction.c Outdated Show resolved Hide resolved
doc/sphinx/source/releasenotes.md Outdated Show resolved Hide resolved
include/ceed/jit-tools.h Outdated Show resolved Hide resolved
@jeremylt jeremylt force-pushed the jeremy/qf-multi-source branch from f5c7dae to b44031f Compare November 18, 2021 18:53
@jeremylt jeremylt dismissed YohannDudouit’s stale review November 18, 2021 19:24

design to return null pointer when property not present consistent with rest of interface

@jeremylt jeremylt merged commit 098b678 into main Nov 18, 2021
@jeremylt jeremylt deleted the jeremy/qf-multi-source branch November 18, 2021 19:24
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.

4 participants