Refactor and enable MI_MEM_FENCE programming for DirectSubmission dispatch

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2022-04-06 14:41:45 +00:00
committed by Compute-Runtime-Automation
parent 3c4b442c79
commit db9c0d1103
30 changed files with 417 additions and 217 deletions

View File

@@ -24,11 +24,10 @@ struct DirectSubmissionFixture : public DeviceFixture {
DeviceFixture::SetUp();
DeviceFactory::prepareDeviceEnvironments(*pDevice->getExecutionEnvironment());
osContext.reset(OsContext::create(nullptr, 0u,
EngineDescriptorHelper::getDefaultDescriptor({aub_stream::ENGINE_RCS, EngineUsage::Regular}, PreemptionMode::ThreadGroup, pDevice->getDeviceBitfield())));
osContext = pDevice->getDefaultEngine().osContext;
}
std::unique_ptr<OsContext> osContext;
OsContext *osContext = nullptr;
};
struct DirectSubmissionDispatchBufferFixture : public DirectSubmissionFixture {