-
Notifications
You must be signed in to change notification settings - Fork 195
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
Adds support for using Base.mapreducedim!
with AbstractField and AbstractOperations
#1611
Merged
Merged
Changes from 46 commits
Commits
Show all changes
67 commits
Select commit
Hold shift + click to select a range
16bab5d
Implements correct Base.length for all AbstractField
glwagner dd668c2
Fixes typo in definition of length
glwagner 95c9c73
ConformalCubedSphereGrid and friends running on the GPU...
glwagner f42b01b
Uncomment exchange bcs test
glwagner 1829660
Updates hydrostatic benchmarks for GPU
glwagner c76ba85
Removes vestigial on_architecture
glwagner acfe847
Some cleanup and changes all xnode, ynode, znode to use instantiated …
glwagner 1dcab53
Goodbye xC yC zC
glwagner acc5eba
Use znode rather than zF in nonlinear equation of state
glwagner e6bf854
Delete special averages-of-operations
glwagner c90245a
interior(field) now returns a view of parent(field); interiorparent i…
glwagner 4a3f7a5
Adds support for mapreducedim on fields
glwagner 5b3ff03
Clean up some technical debt in AveragedField
glwagner 34f3ecc
Use new interior function in mapreducedim
glwagner 5be22e2
Adds GPUArrays to environment
glwagner 15bdff4
Manual initialization of AveragedField.data prior to averaging comput…
glwagner e41ed30
Update abstract_field.jl
glwagner 8fdb867
Update preconditioned_conjugate_gradient_solver.jl
glwagner bf1a8c2
Adapt FunctionField grid
glwagner 7879c4b
Dont fill halo regions after broadcasting (for now)
glwagner 2039488
Updates test_field.jl
glwagner 3fdffae
Fixes geopotential height function for nonlinear equation of state
glwagner 44504a5
Merge branch 'glw/cubed-gpu' of https://github.com/climate-machine/Oc…
glwagner 1a59881
Merge branch 'master' into glw/cubed-gpu
glwagner 8663b00
Adds manual fill halo regions in broadcast test
glwagner 8a50b21
Allow scalar operations for broadcast of ==
glwagner 8385aec
Imports node into continuous_forcing
glwagner 3765310
Use AbstractCPUArchitecture etc in zeros instead of CPU
glwagner 1956589
Merge branch 'master' into glw/mapreduce-abstract-ops
glwagner 3046856
Bugfix in AveragedField
glwagner c6a2e2f
Bumps to 0.56.1
glwagner 1606aac
Use interior(field) in implicit free surface solver test
glwagner b8e73e8
Special set! for fields on the same architecture
glwagner ba147d0
Dont test GPU cubed sphere in CPU tests
glwagner e702a4a
More general / better mapping for in-place reduction functions...
glwagner a58b88f
Fill eta halos before computing free surface linear operation
glwagner fb01d17
Add reduction operation wrappers for identity element op
glwagner cb346b5
Simplifications and dispatch solving and no halo filling during broad…
glwagner 1f68992
Fixes node for reduced locations
glwagner ef4947e
AveragedField computes only interior values now
glwagner 523129e
Adds missing fill_halo_regions before implicit free surface linear op…
glwagner 8798b8f
Fixes scoping issue in FourierTridiagonalPoissonSolver
glwagner 36b1059
Free surfaces are two-dimensional
glwagner bfb6e74
Reverts Manifest changes back to master
glwagner 4421b0d
Merge branch 'glw/cubed-gpu' into glw/mapreduce-abstract-ops
glwagner 8f76946
Bumps to 0.57.0 because changed to AveragedField are breaking
glwagner 0f40c4c
Debug unit tests
glwagner 6c480cf
Update buoyancy_field.jl
glwagner cc351da
Adds interior_copy and uses in some tests
glwagner a116db2
Wrestling with allowscalar shenanigans
glwagner 1e703d2
Fixes bug in test_halo_regions
glwagner a2022db
Fixes but in test_incompressible_models
glwagner bf0b568
Convert to array before comparing, agains...
glwagner 98dfe74
Convert to Array before broadcasted comparison
glwagner d241aa3
Allowscalar in xdomain, ydomain, zdomain
glwagner e8d6f0b
Import CUDA into grid_utils
glwagner 760cdc6
Convert to arch_array in x_derivative_cell
glwagner e591fcc
Merge branch 'glw/mapreduce-abstract-ops' of https://github.com/CliMA…
glwagner 70f5111
Convert arrays to architecture
glwagner 3e94e9d
Merge branch 'master' into glw/mapreduce-abstract-ops
glwagner 5eb7f5b
Wrestling with scalar ops in tests
glwagner 3058097
Need explicit allowscalar in test_field?
glwagner c79c774
Update stratified_couette_flow validation experiment to work on GPU
glwagner d65539d
Attempt to use allowscalar macro in grid_utils
glwagner 8df358e
Use CUDA macro in FourierTridiagonalPoissonSolver
glwagner 85efad4
Use interior(T) in thermal bubble time-stepping incompressibility test
glwagner ec119d0
Convert to array prior to comparison in HydrostaticFreeSurfaceModel
glwagner 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
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 was deleted.
Oops, something went wrong.
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
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
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
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
Oops, something went wrong.
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.
Don't know if it's relevant, just caught the fact that
new_data
is being imported from two different modules. Is that correct?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 correct -- nice catch!