Commit 38d7acbf authored by Richard Angersbach's avatar Richard Angersbach
Browse files

Allow canonical storage for temp buffers now.

parent 722ab5f4
......@@ -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 = true, // currently only implemented as block-wise to reduce number of file accesses
accessBlockwise = tmpBuf.blockwise,
isTemporaryBuffer = true
)
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment