mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 22:43:00 +08:00
Refactor and enable MI_MEM_FENCE programming for DirectSubmission dispatch
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
3c4b442c79
commit
db9c0d1103
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user