Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ExaStencils
exastencils-release
Commits
613066bf
Commit
613066bf
authored
Feb 23, 2022
by
Richard Angersbach
Browse files
Fix modification of IR_Reduction's target in CUDA_ReplaceReductionAccesses strat.
parent
7a759c1f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Compiler/src/exastencils/parallelization/api/cuda/CUDA_HandleFragmentLoopsWithReduction.scala
View file @
613066bf
...
...
@@ -59,8 +59,9 @@ case class CUDA_HandleFragmentLoopsWithReduction(
var
replacement
:
IR_Expression
=
IR_NullExpression
this
+=
new
Transformation
(
"Replace"
,
{
case
red
:
IR_Reduction
=>
red
case
expr
:
IR_Expression
if
expr
=
=
redTarget
=>
Duplicate
(
replacement
)
})
}
,
recursive
=
false
)
}
def
matrixAssignment
(
stdFunc
:
String
,
dst
:
IR_Expression
,
src
:
IR_Expression
,
size
:
Int
)
=
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment