-
Notifications
You must be signed in to change notification settings - Fork 33
#1312 ScalarArray code generation #3101
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
Merged
+795
−41
Merged
Changes from all commits
Commits
Show all changes
150 commits
Select commit
Hold shift + click to select a range
bf523ba
#1312: create initial ScalarArray example
mo-alistairp dc1ec4a
#1312: start adding code generation for ScalarArrays
mo-alistairp 862f368
Merge branch 'master' into 1312_scalararray_code_gen
mo-alistairp 1a07148
#1312: lint fix
mo-alistairp decf6c1
#1312: condense the scalar_array functionality into the scalar function
mo-alistairp 6d74811
#1312L lint fix
mo-alistairp 71c7d0c
#1312: fix the scalar type check logic
mo-alistairp fa6a7e6
#1312: remove the empty test file for now
mo-alistairp ae9ba03
#1312: fix the failing test
mo-alistairp 4961046
#1312: actually fix the failing test
mo-alistairp bc8260f
#1312: lint fix
mo-alistairp 8e2b3de
#1312: Add initial test implementation of ScalarArrays
mo-alistairp 5b8c42d
#1312: fix tests to check that gh_scalar_array is being assigned prop…
mo-alistairp ea0e8f7
1312: add TODO to check whether is_scalar references need updating
mo-alistairp 3b6ad7d
Merge branch 'master' into 1312_scalararray_code_gen
mo-alistairp 33caeac
#1312: lint fix
mo-alistairp 605d9ab
#1312: create a loose structure for acc access
mo-alistairp c9a5598
#1312: Code gen and stub gen for ScalarArrays
mo-alistairp bbb37b7
#1312: lint fix
mo-alistairp 9f3cfb5
Merge branch 'master' into 1312_scalararray_code_gen
mo-alistairp 8e311c2
#1312: lint fix
mo-alistairp ea6ae8d
#1312: lint fixes
mo-alistairp 136d89e
#1312: move dimension array to lfric_scalar_args
mo-alistairp fd0d546
#1312: add declarations for ScalarArray
mo-alistairp 50a2c09
#1312: Move ScalarArray declarations to its own file
mo-alistairp f4c685b
#1312: correct the type checking in declarations
mo-alistairp cc53390
#1312: return lfric_scalar_args to original state
mo-alistairp f3ee59e
#1312: fix if statement to exclude ScalarArray
mo-alistairp 140b022
#1312: Add LFRicScalarArrayArga to paths
mo-alistairp 8527d01
#1312: Alter ScalarArray declaration
mo-alistairp 39f96fb
#1312: Lint fix
mo-alistairp 3360be3
#1312: Lint fix
mo-alistairp 02a42b2
#1312: Remove ScalarArrays from is_scalar
mo-alistairp 6cf25bc
#1312: Fix is_scalar statement in lfric_loop
mo-alistairp a9dc367
Merge branch 'master' into 1312_scalararray_code_gen
mo-alistairp 75692cc
#1312: reintroduce ScalarArray if statement in arg_ordering
mo-alistairp 6edd5f3
#1312: add super scalar call to kern_stub_arg_list
mo-alistairp 12b4a74
#1312: lint fix
mo-alistairp c455482
#1312: fix arg_ordering to include ScalarArrays in assertion
mo-alistairp 184a624
#1312: Fix lfric_test to check ScalarArray rather than field
mo-alistairp 20ecf84
#1312: change INTEGER_TYPE to LFRic equivalent
mo-alistairp 35bc15a
#1312: add dims_array dimensions to ScalarArray declarations
mo-alistairp 3a6ddc6
#1312: change find_or_create to lookup to fix code generation
mo-alistairp e92ca50
#1312: lint fix
mo-alistairp a21d57e
#1312: lint fix
mo-alistairp 1d6b212
#1312: copy ScalarArray creation into the stub list
mo-alistairp 1301f11
Merge branch 'master' into 1312_scalararray_code_gen
mo-alistairp a73d33b
#1312: Remove the temporary KernStubArgList code
mo-alistairp 39b7cb9
#1312: Alter test cases to have 5 args in testkern to avoid error
mo-alistairp 9556c2b
#1312: Try comment out changes to see if it fixes errors
mo-alistairp 4052702
Merge branch 'master' into 1312_scalararray_code_gen
mo-alistairp 86d3231
#1312: lint fix
mo-alistairp 03c600a
#1312: add conditional to differentiate between code gen and stub gen
mo-alistairp b8c358f
#1312: Add partial stub generation code
mo-alistairp 2216993
#1312: lint fix
mo-alistairp 0d6874b
#1312: lint fix
mo-alistairp 06fbf55
#1312: reinstate standard scalar behaviour in ArgOrdering
mo-alistairp aa7e39b
#1312: Fix the dimensions pf the ScalarArray stub gen
mo-alistairp 0dcd904
#1312: add correct stub gen test
mo-alistairp 13bcee0
#1312: Fix the stub gen to have the correct number of ScalarArray inputs
mo-alistairp 0cc2463
#1312: lint fix
mo-alistairp 531e181
#1312: Fix test in test to pass lint
mo-alistairp 40aaf0e
#1312: remove code in KernCallArgList to fix the call in code generation
mo-alistairp 18be0df
#1312: fix lint
mo-alistairp 388d45e
#1312: remove print statement from stub_gen test
mo-alistairp f8d1a8a
#1312: lint fix
mo-alistairp 502b618
#1312: tidy LFRicScalarArrayArgs
mo-alistairp da0a8d1
#1312: fix indentation in stub gen test
mo-alistairp 013463c
#1312: Add error message to KernStubArgList because it no longer has …
mo-alistairp 8249ade
#1312: Add stub declaration data type exception
mo-alistairp 4d503fa
#1312: lint fix
mo-alistairp 42ff5b7
#1312: Add test for ScalarArray intrinsic type
mo-alistairp 662ac2e
#1312: remove print statements
mo-alistairp bfc3e47
#1312: Remove the KernCallAccArgList empty if statement to appease Co…
mo-alistairp 463fcff
#1312: Test whether an exception is raised when a ScalarArray is call…
mo-alistairp 9828122
#1312: remove todo
mo-alistairp 05b2725
#1312: Tidy LFRicScalarArrayArgs
mo-alistairp abbed54
#1312: Add consideration for ScalarArrays in lfric.py
mo-alistairp ec15259
#1312: tidy scalar_array_invoke.f90
mo-alistairp f78a894
#1312: improve the multikernel_invokes_scalar_array_invalid description
mo-alistairp dc1bce9
#1312: Add authorship to relevant files
mo-alistairp 5133a3c
Merge branch 'master' into 1312_scalararray_code_gen
mo-alistairp 7338d2a
Merge branch 'master' into 1312_scalararray_code_gen
arporter 6b265e2
#1312: Add NotImplementedError to KernCallACCArgList
mo-alistairp 0d1b97a
#1312: Revert requested files
mo-alistairp 01f507c
#1312: Create test to check for NotImplementedError for ScalarArrays …
mo-alistairp afaebb6
#1312: miscellaneous style changes
mo-alistairp cd61f83
#1312: lint fix
mo-alistairp eca5ad1
#1312: lint fix
mo-alistairp 0566cce
Merge branch 'master' into 1312_scalararray_code_gen
mo-alistairp 6269aab
#1312: revert typehints temporarily to try identify error
mo-alistairp 5e48f74
#1312: lint fix
mo-alistairp 53111a9
#1312: change imports to try find culprit
mo-alistairp 279f882
This reverts commit 0d1b97ab94e8de67a46d57e883b5e03a1a2c8257.
mo-alistairp b4d2647
#1312: revert KernCallArgList and LFRicScalarArgs to original state
mo-alistairp 7be0fa6
#1312: potentially fix LFRicScalarArrayArgs doc build error
mo-alistairp 72b3026
#1312: add typehint to KernStubArgList
mo-alistairp 699aeac
#1312: remove typehint from KernStubArgList
mo-alistairp d10b34f
#1312: potential fix for import build failure
mo-alistairp cee1d48
#1312: continuing the potential fix
mo-alistairp cc61781
#1312: continue trying to fix circular import
mo-alistairp c58d7cf
#1312: continue trying to fix circular import
mo-alistairp c2f572a
#1312: lint fix
mo-alistairp 8bdf4d1
#1312: continue trying to fix circular import
mo-alistairp efca80b
#1312: continue trying to fix circular import
mo-alistairp 553a610
#1312: continue trying to fix circular import
mo-alistairp 8cd4dbb
#1312: revert the splitting of imports
mo-alistairp 03ea2f8
#1312: Fix the typehinting in KernStubArgList
mo-alistairp d546841
#1312: test inverting the if statement
mo-alistairp 8b46182
#1312: change typehinting in KernStubArgList to be a comment
mo-alistairp a1e5111
#1312: hopefully fix the typehinting
mo-alistairp 5ccffee
#1312: correct the import
mo-alistairp bd82d29
#1312: Cut down LFRicScalarArrayArgs to do multiple types at once
mo-alistairp 3b167fc
#1312: Use intrinsic_type rather than intent in LFRicScalarArrayArgs …
mo-alistairp 889fefa
#1312: Condense argument dictionaries into one where possible
mo-alistairp 58ba124
#1312: Improve comments to distinguish between scal and decl_scal
mo-alistairp e9c7b77
#1312: Include the dimensions array in the kernel call list
mo-alistairp 3febeb7
#1312: remove old todo
mo-alistairp 6af9a55
#1312: Change the _array_ndims to be >=1
mo-alistairp a7f3e98
#1312: Add comment to _array_ndims
mo-alistairp 9c8499d
#1312: change the test codegen to use get_invoke
mo-alistairp 49d89e5
#1312: add field related parameters to the testkern
mo-alistairp 5d92498
Merge branch 'master' into 1312_scalararray_code_gen
mo-alistairp 2741a4b
#1312: Swap the order of dims_array and ScalarArray declarations
mo-alistairp 444d99a
#1312: Update ScalarArray tests to match declaration order
mo-alistairp b2d4553
#1312: Add GH_SCALAR_ARRAY as an LFRic argument
mo-alistairp adcdb37
#1312: lint fix
mo-alistairp d2a7ef9
Merge branch 'master' into 1312_scalararray_code_gen
mo-alistairp f187466
Merge branch 'master' into 1312_scalararray_code_gen
arporter dd53db7
#1312: remove TODO and add raise to dcumentation
mo-alistairp d5315ae
#1312: Add dist_mem and condense generated code
mo-alistairp 9fd41fb
#1312: refactor stub_declarations and tidy code
mo-alistairp 172466d
#1312: fix metadata test to match change in lfric_scalar_array_args
mo-alistairp c4a4cde
#1312: remove unnecessary variables for lint fix
mo-alistairp 1abb0fd
#1312: Lookup dims_array with tag
mo-alistairp a3d7efd
#1312: lint fix
mo-alistairp 584c76b
#1312: Change to lookup by tag for added safety
mo-alistairp 5cfe7a6
#1312: Increase complexity of test algorithm and match subsequent tes…
mo-alistairp ca641f9
Merge branch 'master' into 1312_scalararray_code_gen
mo-alistairp 830f80a
#1312: add description of node argument back in
mo-alistairp 48f63df
#1312: Fix the mdata test to account for multiple kernels in invoke
mo-alistairp 3384868
Merge branch 'master' into 1312_scalararray_code_gen
arporter ba29572
#1312: remove unnecessary >=1 check on ndims
mo-alistairp e12861a
#1312: fix typo
mo-alistairp 6228c3e
#1312: split assert expected_calls into two
mo-alistairp d8271f8
#1312: Add another assert to increase code coverage
mo-alistairp bca6096
#3101 update to new lfric_apps hash
arporter fcf9478
#1312: Tidy arg_ordering_test
mo-alistairp 5eb5fde
Change LFRIC_APPS_HASH in workflow configuration
arporter 9422096
#1312 update changelog
arporter 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
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.