Skip to content
Snippets Groups Projects

[Fix] autoconcat size computation in Scheduler

Merged Olivier BICHLER requested to merge fix_autoconcat_size into dev
1 unresolved thread
@@ -738,6 +738,13 @@ Aidge::MemoryManager Aidge::Scheduler::generateMemoryAutoConcat(bool incProducer
concatOffset += parentSize;
}
}
// Size in reallocate() is counted from the offset, not from 0,
// meaning the offset must be substracted to obtain the correct
// total size without excess.
if (concatOffset > 0) {
concatSize -= concatOffset;
}
}
// MemoryPlane to (re)use
Loading