Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ExaStencils
exastencils-release
Commits
aa2fb6cb
Commit
aa2fb6cb
authored
Apr 22, 2022
by
Samuel Kemmler
Browse files
Use NUMA-aware zero-initialization for matrix-fields
parent
4c96a571
Changes
1
Hide whitespace changes
Inline
Side-by-side
Compiler/src/exastencils/field/ir/IR_InitFieldsWithZero.scala
View file @
aa2fb6cb
...
...
@@ -52,6 +52,9 @@ case class IR_InitFieldsWithZero() extends IR_FuturePlainFunction {
loopOverDims
.
parallelization
.
potentiallyParallel
=
true
loopOverDims
.
polyOptLevel
=
1
// parallelize only field dimensions (< Knowledge.dimensionality) and not matrix dimensions (important for the NUMA-aware initialization of matrix-fields)
loopOverDims
.
parDims
.
retain
(
p
=>
p
<
Knowledge
.
dimensionality
)
val
wrapped
=
IR_LoopOverFragments
(
IR_IfCondition
(
IR_IV_IsValidForDomain
(
field
.
domain
.
index
),
loopOverDims
),
IR_ParallelizationInfo
(
potentiallyParallel
=
true
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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