Add implicit barriers capability to opencl

Related-To: NEO-6262

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
Zbigniew Zdanowicz
2021-11-06 01:42:54 +00:00
committed by Compute-Runtime-Automation
parent 0897cb11ca
commit 61641bb70a
12 changed files with 182 additions and 43 deletions

View File

@ -155,8 +155,8 @@ class CommandStreamReceiver {
GraphicsAllocation *getGlobalFenceAllocation() const { return globalFenceAllocation; }
GraphicsAllocation *getWorkPartitionAllocation() const { return workPartitionAllocation; }
void requestStallingPipeControlOnNextFlush() { stallingPipeControlOnNextFlushRequired = true; }
bool isStallingPipeControlOnNextFlushRequired() const { return stallingPipeControlOnNextFlushRequired; }
void requestStallingCommandsOnNextFlush() { stallingCommandsOnNextFlushRequired = true; }
bool isStallingCommandsOnNextFlushRequired() const { return stallingCommandsOnNextFlushRequired; }
virtual void waitForTaskCountWithKmdNotifyFallback(uint32_t taskCountToWait, FlushStamp flushStampToWait, bool useQuickKmdSleep, bool forcePowerSavingMode) = 0;
virtual bool waitForCompletionWithTimeout(bool enableTimeout, int64_t timeoutMicroseconds, uint32_t taskCountToWait);
@ -375,7 +375,7 @@ class CommandStreamReceiver {
bool bindingTableBaseAddressRequired = false;
bool mediaVfeStateDirty = true;
bool lastVmeSubslicesConfig = false;
bool stallingPipeControlOnNextFlushRequired = false;
bool stallingCommandsOnNextFlushRequired = false;
bool timestampPacketWriteEnabled = false;
bool staticWorkPartitioningEnabled = false;
bool nTo1SubmissionModelEnabled = false;