Fix build error in ult

Change-Id: I44a66975df4d12e68b967f5dac28cffb8a145004
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
This commit is contained in:
Aravind Gopalakrishnan 2020-10-30 10:15:03 -07:00 committed by sys_ocldev
parent 4cea3f85f6
commit f9e0c04b54
1 changed files with 2 additions and 2 deletions

View File

@ -192,8 +192,8 @@ HWTEST2_F(CommandListCreate, givenCopyOnlyCommandListWhenAppendWriteGlobalTimest
for (auto it : iterator) {
auto cmd = genCmdCast<MI_FLUSH_DW *>(*it);
if ((cmd->getPostSyncOperation(), MI_FLUSH_DW::POST_SYNC_OPERATION_WRITE_TIMESTAMP_REGISTER) &&
(cmd->getDestinationAddress(), timestampAddress)) {
if ((cmd->getPostSyncOperation() == MI_FLUSH_DW::POST_SYNC_OPERATION_WRITE_TIMESTAMP_REGISTER) &&
(cmd->getDestinationAddress() == timestampAddress)) {
postSyncFound = true;
}
}