mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 13:33:02 +08:00
Add tests for split handling barrier
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
222992000a
commit
1d675fc145
@@ -1470,6 +1470,9 @@ TEST(CommandStreamReceiverSimpleTest, whenInitializeTagAllocationThenBarrierCoun
|
||||
|
||||
EXPECT_EQ(csr.getBarrierCountTagAddress(), ptrOffset(csr.getTagAddress(), TagAllocationLayout::barrierCountOffset));
|
||||
EXPECT_EQ(csr.getBarrierCountGpuAddress(), ptrOffset(csr.getTagAllocation()->getGpuAddress(), TagAllocationLayout::barrierCountOffset));
|
||||
EXPECT_EQ(csr.peekBarrierCount(), 0u);
|
||||
EXPECT_EQ(csr.getNextBarrierCount(), 0u);
|
||||
EXPECT_EQ(csr.peekBarrierCount(), 1u);
|
||||
}
|
||||
|
||||
TEST(CommandStreamReceiverSimpleTest, givenGpuIdleImplicitFlushCheckDisabledWhenGpuIsIdleThenReturnFalse) {
|
||||
|
||||
Reference in New Issue
Block a user