mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 21:42:53 +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
@@ -44,7 +44,7 @@ class CommandStreamReceiverMock : public UltCommandStreamReceiver<FamilyType> {
|
||||
|
||||
public:
|
||||
size_t expectedToFreeCount = (size_t)-1;
|
||||
CommandStreamReceiverMock(Device *pDevice) : UltCommandStreamReceiver<FamilyType>(*platformDevices[0]) {
|
||||
CommandStreamReceiverMock(Device *pDevice) : UltCommandStreamReceiver<FamilyType>(*platformDevices[0], *pDevice->getExecutionEnvironment()) {
|
||||
this->pDevice = pDevice;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user