mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 07:14:10 +08:00
feature: Initial CB events IPC support
Related-To: NEO-11925 Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
0a568f368d
commit
52e9a6e07f
@@ -64,7 +64,7 @@ HWTEST_F(CommandEncoderTests, givenDifferentInputParamsWhenCreatingStandaloneInO
|
||||
|
||||
MockGraphicsAllocation alloc(nullptr, gpuAddress, 1);
|
||||
|
||||
auto inOrderExecInfo = InOrderExecInfo::createFromExternalAllocation(mockDevice, &alloc, gpuAddress, nullptr, hostAddress, counterValue);
|
||||
auto inOrderExecInfo = InOrderExecInfo::createFromExternalAllocation(mockDevice, &alloc, gpuAddress, nullptr, hostAddress, counterValue, 2, 3);
|
||||
|
||||
EXPECT_EQ(counterValue, inOrderExecInfo->getCounterValue());
|
||||
EXPECT_EQ(hostAddress, inOrderExecInfo->getBaseHostAddress());
|
||||
@@ -72,6 +72,8 @@ HWTEST_F(CommandEncoderTests, givenDifferentInputParamsWhenCreatingStandaloneInO
|
||||
EXPECT_EQ(&alloc, inOrderExecInfo->getDeviceCounterAllocation());
|
||||
EXPECT_EQ(nullptr, inOrderExecInfo->getHostCounterAllocation());
|
||||
EXPECT_TRUE(inOrderExecInfo->isExternalMemoryExecInfo());
|
||||
EXPECT_EQ(2u, inOrderExecInfo->getNumDevicePartitionsToWait());
|
||||
EXPECT_EQ(3u, inOrderExecInfo->getNumHostPartitionsToWait());
|
||||
|
||||
inOrderExecInfo->reset();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user