-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from awnawab/naan-port-propags2
Enable GPU offload of depth and current refraction solver
- Loading branch information
Showing
11 changed files
with
258 additions
and
28 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
[default] | ||
mode = "idem" | ||
role = "kernel" | ||
expand = true | ||
strict = true | ||
replicate = true | ||
|
||
# Utility calls and IO statements to remove | ||
[transformations.RemoveCodeTransformation] | ||
module = "loki.transformations" | ||
[transformations.RemoveCodeTransformation.options] | ||
remove_dead_code = true | ||
kernel_only = true | ||
|
||
# Loop transformations | ||
[transformations.LoopUnrollTransformation] | ||
module = "loki.transformations" | ||
classname = "TransformLoopsTransformation" | ||
[transformations.LoopUnrollTransformation.options] | ||
loop_unroll = true | ||
|
||
[transformations.LoopFuseTransformation] | ||
module = "loki.transformations" | ||
classname = "TransformLoopsTransformation" | ||
[transformations.LoopFuseTransformation.options] | ||
loop_fusion = true | ||
|
||
# SubstituteExpressionTransformation | ||
[transformations.SubstituteExpressionTransformation] | ||
module = "loki.transformations" | ||
[transformations.SubstituteExpressionTransformation.options] | ||
substitute_expressions = true | ||
substitute_body = true | ||
[transformations.SubstituteExpressionTransformation.options.expression_map] | ||
"llwlonn(k,m,ic)" = ".true." | ||
"llwlatn(k,m,ic,icl)" = ".true." | ||
"llwcorn(k,m,icr,icl)" = ".true." | ||
"llwkpmn(k,m,ic)" = ".true." | ||
"llwmpmn(k,m,ic)" = ".true." | ||
|
||
# Idem transformation | ||
[transformations.IdemTransformation] | ||
module = "loki.transformations" | ||
|
||
# loki pipelines | ||
[pipelines.idem] | ||
transformations = [ | ||
'SubstituteExpressionTransformation', 'RemoveCodeTransformation', 'LoopUnrollTransformation', | ||
'LoopFuseTransformation', 'IdemTransformation' | ||
] | ||
|
||
# Define entry point for call-tree transformation | ||
[routines.propags2] | ||
role = "kernel" | ||
expand = false | ||
replicate = false | ||
|
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.