-
Notifications
You must be signed in to change notification settings - Fork 208
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
support for active_cells_map in kernels #3920
Open
simone-silvestri
wants to merge
74
commits into
main
Choose a base branch
from
ss/active-index-macro
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.
Open
Changes from 63 commits
Commits
Show all changes
74 commits
Select commit
Hold shift + click to select a range
279e4c4
support for MappedFunctions
simone-silvestri 6182e34
remove double kernels everywhere
simone-silvestri 5545605
make sure also GPU works
simone-silvestri e239dbe
make sure there is no return in the function
simone-silvestri 32e0c52
return nothing
simone-silvestri 0b56304
adapt for GPU usage
simone-silvestri 052f56e
not sure about the GPU
simone-silvestri d0d56ac
hmmm
simone-silvestri 7e41737
probably like this it will work on the GPU?
simone-silvestri 42d4989
Merge branch 'ss/active-index-macro' of github.com:CliMA/Oceananigans…
simone-silvestri 130a357
some cleanup plus testing a test?
simone-silvestri 3be13dd
works on gpu, to fix the dynamic check
simone-silvestri 64cad18
move lwargs
simone-silvestri 333bfd7
kwarg management
simone-silvestri e069051
reduce time for tridiagonal solve
simone-silvestri f0a887a
see if tests pass (especially distributed where we have active_cells)
simone-silvestri 7b33e7a
bugfix
simone-silvestri 26194f3
grid from solver
simone-silvestri db84ef2
Merge branch 'main' into ss/active-index-macro
simone-silvestri 0b70d31
this should work
simone-silvestri c620492
typo
simone-silvestri 3d35878
extend surface map in halos
simone-silvestri 4ff3f59
Merge remote-tracking branch 'origin/main' into ss/active-index-macro
simone-silvestri 3609931
this should work?
simone-silvestri 01b71c1
works maybe
simone-silvestri bfcf449
should speed up a lot
simone-silvestri e1ad82d
precompiles
simone-silvestri c8efdb1
fixes
simone-silvestri a1f09b4
more corrections
simone-silvestri 1c043bc
probably it should work
simone-silvestri ee98cf2
more corrections
simone-silvestri 1a15fc3
more changes
simone-silvestri c8469ba
try this for the moment
simone-silvestri 4373ec1
remove all duplication
simone-silvestri 9b3c161
remove all duplication
simone-silvestri 1615c99
Merge remote-tracking branch 'origin/main' into ss/active-index-macro
simone-silvestri ae6f6e3
add more stuff
simone-silvestri ff80a8e
better
simone-silvestri e6c8c8c
Merge branch 'main' into ss/active-index-macro
simone-silvestri f9ae12e
try new test
simone-silvestri af143aa
This works, we optimize performance later
simone-silvestri e0b2b19
some housekeeping
simone-silvestri c9b19c3
good active cells map test
simone-silvestri ae0366d
fixed index launching
simone-silvestri b73ecbc
just test relevant tests
simone-silvestri d685345
change comment
simone-silvestri 00eac79
better
simone-silvestri 1ebb694
it works. Back to the complete test suite.
simone-silvestri bda1ad5
try again
simone-silvestri 0fca27c
fix distributed
simone-silvestri 3256f2d
override for GPUs
simone-silvestri 3656122
bugfix
simone-silvestri 54fd31e
another bugfix
simone-silvestri 6f407f7
maybe now it works?
simone-silvestri d159f9a
comment
simone-silvestri 110bbfd
this should work finally
simone-silvestri 2714946
Merge remote-tracking branch 'origin/main' into ss/active-index-macro
simone-silvestri 6cfa3b4
add linear expand for CPU
simone-silvestri e8a87ac
bugfix
simone-silvestri 3ddad87
works, restore all testing
simone-silvestri d6f310c
revert pipeline
simone-silvestri ed5a479
do this optimization in a later PR
simone-silvestri 20a3f05
better comment
simone-silvestri e39bfcd
Merge branch 'main' into ss/active-index-macro
simone-silvestri 9f5b6b6
Merge branch 'main' into ss/active-index-macro
simone-silvestri 91e244e
Merge branch 'main' into ss/active-index-macro
simone-silvestri 0f876dd
Merge branch 'main' into ss/active-index-macro
simone-silvestri 13b1789
Merge branch 'main' into ss/active-index-macro
simone-silvestri 62757ca
bugfix
simone-silvestri 52dbf32
bugfix
simone-silvestri c665e21
Merge branch 'main' into ss/active-index-macro
simone-silvestri 13399af
correction
simone-silvestri 62b1000
Merge branch 'main' into ss/active-index-macro
simone-silvestri 41c05df
Merge branch 'main' into ss/active-index-macro
simone-silvestri 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
15 changes: 2 additions & 13 deletions
15
...ostaticFreeSurfaceModels/SplitExplicitFreeSurfaces/barotropic_split_explicit_corrector.jl
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
1 change: 0 additions & 1 deletion
1
src/Models/HydrostaticFreeSurfaceModels/hydrostatic_free_surface_ab2_step.jl
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.
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.
you can also add a constructor for tuples
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.
for
KernelParameters