Add logic to change queue slice count

Change-Id: I4f5ccb4ecb290e1a05e3a312b9fa2a5d9c5c17f7
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
This commit is contained in:
Katarzyna Cencelewska
2019-08-21 03:50:47 -07:00
committed by sys_ocldev
parent 7fa3865f0b
commit 260759268a
33 changed files with 599 additions and 119 deletions

View File

@@ -52,6 +52,7 @@ CompletionStamp &CommandMapUnmap::submit(uint32_t taskLevel, bool terminated) {
PreemptionHelper::taskPreemptionMode(commandQueue.getDevice(), nullptr), //preemptionMode
GrfConfig::DefaultGrfNumber, //numGrfRequired
L3CachingSettings::l3CacheOn, //l3CacheSettings
commandQueue.getSliceCount(), //sliceCount
true, //blocking
true, //dcFlush
true, //useSLM
@@ -193,6 +194,7 @@ CompletionStamp &CommandComputeKernel::submit(uint32_t taskLevel, bool terminate
preemptionMode, //preemptionMode
kernel->getKernelInfo().patchInfo.executionEnvironment->NumGRFRequired, //numGrfRequired
L3CachingSettings::l3CacheOn, //l3CacheSettings
commandQueue.getSliceCount(), //sliceCount
true, //blocking
flushDC, //dcFlush
slmUsed, //useSLM
@@ -285,6 +287,7 @@ CompletionStamp &CommandWithoutKernel::submit(uint32_t taskLevel, bool terminate
commandQueue.getDevice().getPreemptionMode(), //preemptionMode
GrfConfig::DefaultGrfNumber, //numGrfRequired
L3CachingSettings::l3CacheOn, //l3CacheSettings
commandQueue.getSliceCount(), //sliceCount
true, //blocking
false, //dcFlush
false, //useSLM