mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Do not use direct submission in internal and low priority contexts
Change-Id: Ifac52dd36737151ea4d84bec95750e1716cafa9a Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
4181102ff1
commit
ad4925aef9
@ -31,7 +31,9 @@ class MemoryAllocatorFixture : public MemoryManagementFixture {
|
||||
csr = &device->getGpgpuCommandStreamReceiver();
|
||||
auto &hwInfo = device->getHardwareInfo();
|
||||
auto engineType = HwHelper::get(hwInfo.platform.eRenderCoreFamily).getGpgpuEngineInstances(hwInfo)[0];
|
||||
auto osContext = memoryManager->createAndRegisterOsContext(csr, engineType, 1, PreemptionHelper::getDefaultPreemptionMode(*platformDevices[0]), false);
|
||||
auto osContext = memoryManager->createAndRegisterOsContext(csr, engineType, 1,
|
||||
PreemptionHelper::getDefaultPreemptionMode(*platformDevices[0]),
|
||||
false, false, false);
|
||||
csr->setupContext(*osContext);
|
||||
}
|
||||
|
||||
|
@ -25,7 +25,9 @@ void MemoryManagerWithCsrFixture::SetUp() {
|
||||
csr->tagAddress = ¤tGpuTag;
|
||||
auto hwInfo = executionEnvironment.rootDeviceEnvironments[0]->getHardwareInfo();
|
||||
auto engine = HwHelper::get(hwInfo->platform.eRenderCoreFamily).getGpgpuEngineInstances(*hwInfo)[0];
|
||||
auto osContext = memoryManager->createAndRegisterOsContext(csr.get(), engine, 1, PreemptionHelper::getDefaultPreemptionMode(*hwInfo), false);
|
||||
auto osContext = memoryManager->createAndRegisterOsContext(csr.get(), engine, 1,
|
||||
PreemptionHelper::getDefaultPreemptionMode(*hwInfo),
|
||||
false, false, false);
|
||||
csr->setupContext(*osContext);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user