mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Pass execution environment to command stream receiver.
Change-Id: I598f67f8b005b5ce8249b638e080657eb6dc3547
This commit is contained in:

committed by
sys_ocldev

parent
287d33d87e
commit
1599ea800e
@ -148,7 +148,7 @@ typedef Test<DeviceFixture> CommandStreamReceiverHwTest;
|
||||
|
||||
HWTEST_F(CommandStreamReceiverHwTest, givenCsrHwWhenTypeIsCheckedThenCsrHwIsReturned) {
|
||||
HardwareInfo hwInfo = *platformDevices[0];
|
||||
auto csr = std::unique_ptr<CommandStreamReceiver>(CommandStreamReceiverHw<FamilyType>::create(hwInfo));
|
||||
auto csr = std::unique_ptr<CommandStreamReceiver>(CommandStreamReceiverHw<FamilyType>::create(hwInfo, *pDevice->executionEnvironment));
|
||||
|
||||
EXPECT_EQ(CommandStreamReceiverType::CSR_HW, csr->getType());
|
||||
}
|
||||
|
Reference in New Issue
Block a user