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
38d7acbf
Commit
38d7acbf
authored
Feb 24, 2022
by
Richard Angersbach
Browse files
Allow canonical storage for temp buffers now.
parent
722ab5f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Compiler/src/exastencils/io/ir/IR_DataBuffer.scala
View file @
38d7acbf
...
...
@@ -135,7 +135,8 @@ object IR_DataBuffer {
tmpBuf
:
IR_IV_TemporaryBuffer
,
slot
:
IR_Expression
,
pattern
:
Option
[
IR_AccessPattern
],
dataset
:
Option
[
IR_Expression
])
:
IR_DataBuffer
=
{
dataset
:
Option
[
IR_Expression
],
canonicalOrder
:
Boolean
=
false
)
:
IR_DataBuffer
=
{
new
IR_DataBuffer
(
slot
=
slot
,
...
...
@@ -151,9 +152,9 @@ object IR_DataBuffer {
name
=
tmpBuf
.
name
,
accessPattern
=
pattern
getOrElse
IR_RegularAccessPattern
(
IR_AccessTempBufferFunction
(
tmpBuf
)),
datasetName
=
dataset
getOrElse
IR_NullExpression
,
canonicalStorageLayout
=
false
,
canonicalStorageLayout
=
canonicalOrder
,
layoutTransformationTarget
=
None
,
accessBlockwise
=
t
rue
,
// currently only implemented as
block
-
wise
to reduce number of file accesses
accessBlockwise
=
t
mpBuf
.
blockwise
,
isTemporaryBuffer
=
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