mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Rename engine member in CommandQueue
Change-Id: I01516616c164f19afbcd62d39a2a42d04ff768c9 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
fe26b0b406
commit
89d1878cd6
@ -19,7 +19,7 @@ void DeviceFixture::SetUpImpl(const NEO::HardwareInfo *hardwareInfo) {
|
||||
pDevice = MockDevice::createWithNewExecutionEnvironment<MockDevice>(hardwareInfo);
|
||||
ASSERT_NE(nullptr, pDevice);
|
||||
|
||||
auto &commandStreamReceiver = pDevice->getCommandStreamReceiver();
|
||||
auto &commandStreamReceiver = pDevice->getGpgpuCommandStreamReceiver();
|
||||
pTagMemory = commandStreamReceiver.getTagAddress();
|
||||
ASSERT_NE(nullptr, const_cast<uint32_t *>(pTagMemory));
|
||||
}
|
||||
|
@ -55,11 +55,11 @@ struct UltCommandStreamReceiverTest
|
||||
graphicsAllocation = new MockGraphicsAllocation(sshBuffer, sizeStream);
|
||||
ssh.replaceGraphicsAllocation(graphicsAllocation);
|
||||
|
||||
pDevice->getCommandStreamReceiver().setupContext(*pDevice->getDefaultEngine().osContext);
|
||||
pDevice->getGpgpuCommandStreamReceiver().setupContext(*pDevice->getDefaultEngine().osContext);
|
||||
}
|
||||
|
||||
void TearDown() override {
|
||||
pDevice->getCommandStreamReceiver().flushBatchedSubmissions();
|
||||
pDevice->getGpgpuCommandStreamReceiver().flushBatchedSubmissions();
|
||||
delete dsh.getGraphicsAllocation();
|
||||
delete ioh.getGraphicsAllocation();
|
||||
delete ssh.getGraphicsAllocation();
|
||||
@ -130,7 +130,7 @@ struct UltCommandStreamReceiverTest
|
||||
|
||||
template <typename GfxFamily>
|
||||
UltCommandStreamReceiver<GfxFamily> &getUltCommandStreamReceiver() {
|
||||
return reinterpret_cast<UltCommandStreamReceiver<GfxFamily> &>(pDevice->getCommandStreamReceiver());
|
||||
return reinterpret_cast<UltCommandStreamReceiver<GfxFamily> &>(pDevice->getGpgpuCommandStreamReceiver());
|
||||
}
|
||||
|
||||
DispatchFlags flushTaskFlags = {};
|
||||
|
Reference in New Issue
Block a user