mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-10 12:53:42 +08:00
Unify isTimestampWaitSupportedForEvents helper function
Related-To: NEO-6853 Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com> No need to keep isTimestampWaitSupportedForEvents function in hwHelper and in hwInfoConfig helper, move it to hwInfoConfig instead.
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
e4d10e5460
commit
c82038565e
@ -1843,9 +1843,8 @@ TEST(EventTimestampTest, givenEnableTimestampWaitWhenCheckIsTimestampWaitEnabled
|
||||
|
||||
{
|
||||
DebugManager.flags.EnableTimestampWaitForEvents.set(-1);
|
||||
const auto &hwInfo = mockDevice->getHardwareInfo();
|
||||
const auto &hwHelper = HwHelper::get(hwInfo.platform.eRenderCoreFamily);
|
||||
EXPECT_EQ(event.isWaitForTimestampsEnabled(), hwHelper.isTimestampWaitSupportedForEvents(hwInfo));
|
||||
const auto &productHelper = mockDevice->getRootDeviceEnvironment().getHelper<ProductHelper>();
|
||||
EXPECT_EQ(event.isWaitForTimestampsEnabled(), productHelper.isTimestampWaitSupportedForEvents());
|
||||
}
|
||||
|
||||
{
|
||||
|
Reference in New Issue
Block a user