mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-31 12:11:31 +08:00
Fix profiling in device enqueue scenarios.
- Remove high part define as well. Change-Id: Ie57b8e682507e4b620ad96de2b969dd0163315e0
This commit is contained in:
committed by
sys_ocldev
parent
dd44a87d5f
commit
a891b23830
@@ -761,7 +761,7 @@ HWTEST_F(TheSimplestDeviceQueueFixture, getProfilingEndCmdsSize) {
|
||||
MockContext context;
|
||||
std::unique_ptr<MockDeviceQueueHw<FamilyType>> mockDeviceQueueHw(new MockDeviceQueueHw<FamilyType>(&context, device.get(), deviceQueueProperties::minimumProperties[0]));
|
||||
|
||||
size_t expectedSize = sizeof(PIPE_CONTROL) + 2 * sizeof(MI_STORE_REGISTER_MEM) + sizeof(MI_LOAD_REGISTER_IMM);
|
||||
size_t expectedSize = sizeof(PIPE_CONTROL) + sizeof(MI_STORE_REGISTER_MEM) + sizeof(MI_LOAD_REGISTER_IMM);
|
||||
|
||||
EXPECT_EQ(expectedSize, MockDeviceQueueHw<FamilyType>::getProfilingEndCmdsSize());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user