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
a1d0f525
Commit
a1d0f525
authored
Mar 02, 2022
by
Richard Angersbach
Browse files
Minor fix for CUDA loop annotations.
parent
4305fc5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Compiler/src/exastencils/parallelization/api/cuda/CUDA_ExtractDeviceCode.scala
View file @
a1d0f525
...
...
@@ -114,7 +114,7 @@ object CUDA_ExtractHostAndDeviceCode extends DefaultStrategy("Transform annotate
loop.getAnnotation
(
CUDA_Util.CUDA_LOOP_ANNOTATION
)
.contains
(
CUDA_Util.CUDA_BAND_START
)
=>
// remove the annotation first to guarantee single application of this transformation.
loop
.
a
nnotat
e
(
CUDA_Util
.
CUDA_LOOP_ANNOTATION
)
loop
.
removeA
nnotat
ion
(
CUDA_Util
.
CUDA_LOOP_ANNOTATION
)
val
parallelLoops
=
(
x
:
IR_ForLoop
)
=>
{
x
.
hasAnnotation
(
CUDA_Util
.
CUDA_LOOP_ANNOTATION
)
&&
...
...
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