mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Introduce MultiDeviceKernel class
Related-To: NEO-5001 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
71940061b8
commit
04eca48ee0
@ -81,13 +81,14 @@ struct MediaKernelFixture : public HelloWorldFixture<FactoryType>,
|
||||
|
||||
ASSERT_NE(nullptr, pVmeKernel);
|
||||
ASSERT_EQ(true, pVmeKernel->isVmeKernel());
|
||||
pMultiDeviceVmeKernel = new MockMultiDeviceKernel(pVmeKernel);
|
||||
}
|
||||
|
||||
void TearDown() override {
|
||||
if (skipVmeTest) {
|
||||
return;
|
||||
}
|
||||
pVmeKernel->release();
|
||||
pMultiDeviceVmeKernel->release();
|
||||
|
||||
HardwareParse::TearDown();
|
||||
Parent::TearDown();
|
||||
@ -96,6 +97,7 @@ struct MediaKernelFixture : public HelloWorldFixture<FactoryType>,
|
||||
GenCmdList::iterator itorWalker1;
|
||||
GenCmdList::iterator itorWalker2;
|
||||
|
||||
MockMultiDeviceKernel *pMultiDeviceVmeKernel = nullptr;
|
||||
Kernel *pVmeKernel = nullptr;
|
||||
bool skipVmeTest = false;
|
||||
};
|
||||
|
Reference in New Issue
Block a user