-
Notifications
You must be signed in to change notification settings - Fork 13
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
Transition to arraycontext #139
Draft
alexfikl
wants to merge
62
commits into
inducer:main
Choose a base branch
from
alexfikl:towards-array-context
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 1 commit
Commits
Show all changes
62 commits
Select commit
Hold shift + click to select a range
791dfd3
Initial work towards using array contexts
inducer 2da9092
update tests to pass actx
alexfikl 3123ec7
sumpy.array_context additions
alexfikl ecc9d7f
port p2p to arraycontext
alexfikl 2285243
port p2e to arraycontext
alexfikl c87c528
port e2p to arraycontext
alexfikl 2aa656b
port e2e to arraycontext
alexfikl 57971a5
port tools and toys to arraycontext
alexfikl 1abff07
port test_tools to arraycontext
alexfikl 5d95944
port test_misc to arraycontext
alexfikl 9b4fbde
bump requirements
alexfikl 71e6c65
start porting test_kernels to arraycontext
alexfikl 7086997
more porting in test_kernels
alexfikl 4523020
add arraycontext to docs
alexfikl aa5a50b
add some annotations to make_loopy_program
alexfikl bfce329
finish porting in test_kernels
alexfikl 80b1045
port qbx to arraycontext
alexfikl 81b92bd
port curve-pot to arraycontext
alexfikl 5cc1919
add pytools to intersphinx
alexfikl 04bb78a
add assumptions at kernel creation
alexfikl dd9e7d9
port expansion-toys to arraycontext
alexfikl 5bba7e2
move get_kernel calls to separate line for debugging
alexfikl 2332fd5
add fixed_parameters to make_loopy_program
alexfikl 6da8704
port test_qbx to arraycontext
alexfikl 4aca058
port test_matrixgen to arraycontext
alexfikl 711f938
continue porting fmm to arraycontext
alexfikl 276b42a
update drive_fmm from boxtree
alexfikl 3f8b2b8
Merge branch 'main' into towards-array-context
alexfikl 4c1985d
more work towards getting the fmm working
alexfikl 2c93c4e
fix up fmm tests
alexfikl ddaa4ad
port distributed to arraycontext
alexfikl be9c909
add missing actx
alexfikl fd7e61f
fix kernel return values
alexfikl c3e35a5
actually loop over all results
alexfikl f6d6e9d
back up some more dictionary kernel accesses
alexfikl 0fa102f
fix matrix generation
alexfikl a7bb63a
rip out timing collection
alexfikl 15a15f2
Merge branch 'main' into towards-array-context
alexfikl 567b947
remove unused imports (flake8)
alexfikl ea7656d
fix return value for form_locals
alexfikl 2fd594d
Merge branch 'main' into towards-array-context
alexfikl bd5f578
remove ctx arg in KernelComputation
alexfikl 4c3d838
back out some unneeded changes
alexfikl 60e194d
point ci to updated pytential
alexfikl 45a023e
fix kwargs name
alexfikl 39d0757
Merge branch 'main' into towards-array-context
alexfikl 5cbce16
Merge branch 'main' into towards-array-context
alexfikl e28d295
fix merge
alexfikl f1efc3a
Merge branch 'main' into towards-array-context
alexfikl 447335d
Merge branch 'main' into towards-array-context
alexfikl b7df3ce
Merge branch 'main' into towards-array-context
alexfikl 8397a93
Merge branch 'main' into towards-array-context
alexfikl 237dad4
Merge branch 'main' into towards-array-context
alexfikl 6f65431
Merge branch 'main' into towards-array-context
alexfikl 53933e7
docs: add pytools to intersphinx
alexfikl b6b3e2e
Merge branch 'main' into towards-array-context
alexfikl b7203e2
fix device handling in p2p
alexfikl 43148e1
Merge branch 'main' into towards-array-context
alexfikl a791aaf
Merge branch 'main' into towards-array-context
alexfikl 51ac5f5
fix bad merge
alexfikl d88b9f4
Merge branch 'main' into towards-array-context
alexfikl 4fe4f01
fix bad merge
alexfikl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm. What's the recommended way to get the timing data?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not quite sure. I briefly talked about that with @inducer and it should be baked into the array context somehow so it doesn't clutter the wrangler interface.
However, that probably needs a bit of effort to get back into a working state, so not quite sure what a timeline would be..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to write out some questions about that to get an idea (from you and @inducer). I don't really use it so this has been a brutal delete sort of thing..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I use it to get results for a paper.
I can try if there's an outline of how to reintroduce it. I have not much experience on arraycontexts, so I have no idea what needs to be done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I don't have a good overview either, so that probably needs some discussion. There's a profiling array context here
https://github.com/illinois-ceesd/mirgecom/blob/f9cf0f3557b7d5c89f58e8362ebf50820261219f/mirgecom/profiling.py
but not sure if a similar interface will work for gathering timings on the FMM.
Ok, then definitely either revert or hold off on merging.
At the moment, the timing code and the manual event handling are not particularly compatible with the
arraycontext
stuff (as it is) and removing both is pretty breaking.