Queue stall mode for RelaxedOrdering

Related-To: NEO-7458

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
Dunajski, Bartosz
2022-11-19 18:25:04 +00:00
committed by Compute-Runtime-Automation
parent bb308c04ed
commit bc619fcbec
28 changed files with 549 additions and 200 deletions

View File

@@ -11,11 +11,11 @@
using namespace NEO;
struct BatchBufferHelper {
static BatchBuffer createDefaultBatchBuffer(GraphicsAllocation *commandBufferAllocation, LinearStream *stream, size_t usedSize) {
static BatchBuffer createDefaultBatchBuffer(GraphicsAllocation *commandBufferAllocation, LinearStream *stream, size_t usedSize, size_t chainedBatchBufferStartOffset) {
return BatchBuffer(
commandBufferAllocation, // commandBufferAllocation
0, // startOffset
0, // chainedBatchBufferStartOffset
chainedBatchBufferStartOffset, // chainedBatchBufferStartOffset
0, // taskStartAddress
nullptr, // chainedBatchBuffer
false, // requiresCoherency
@@ -25,7 +25,12 @@ struct BatchBufferHelper {
usedSize, // usedSize
stream, // stream
nullptr, // endCmdPtr
false // useSingleSubdevice
false, // useSingleSubdevice
false // hasStallingCmds
);
}
static BatchBuffer createDefaultBatchBuffer(GraphicsAllocation *commandBufferAllocation, LinearStream *stream, size_t usedSize) {
return createDefaultBatchBuffer(commandBufferAllocation, stream, usedSize, 0);
}
};