Enable timestamp wait mechanism

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2022-03-17 15:55:41 +00:00
committed by Compute-Runtime-Automation
parent 12e050106c
commit 1c0502733f
2 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ bool CommandQueue::isAssignEngineRoundRobinEnabled() {
}
bool CommandQueue::isTimestampWaitEnabled() {
return false;
return true;
}
} // namespace NEO

View File

@ -873,8 +873,8 @@ TEST(CommandQueueTest, whenCheckEngineRoundRobinAssignThenReturnsFalse) {
EXPECT_FALSE(CommandQueue::isAssignEngineRoundRobinEnabled());
}
TEST(CommandQueueTest, whenCheckEngineTimestampWaitEnabledThenReturnsFalse) {
EXPECT_FALSE(CommandQueue::isTimestampWaitEnabled());
TEST(CommandQueueTest, whenCheckEngineTimestampWaitEnabledThenReturnsTrue) {
EXPECT_TRUE(CommandQueue::isTimestampWaitEnabled());
}
TEST(CommandQueueTest, givenEnableCmdQRoundRobindEngineAssignSetWhenCheckEngineRoundRobinAssignThenReturnsTrue) {