SWDEV-292525 - Adds parentheses to fix regression
Debug builds fails with error due to missing
parentheses with -Werror=parentheses enabled
Change-Id: I5745a63b5cf2c7a3aeed90ea572081a6fa67e366
[ROCm/clr commit: 5e116c6c99]
This commit is contained in:
committed by
Sourabh Betigeri
parent
51f7944fcb
commit
2f2dafa732
@@ -783,7 +783,7 @@ class StreamOperationCommand : public OneMemoryArgCommand {
|
||||
// Sanity check
|
||||
assert((cmdType == ROCCLR_COMMAND_STREAM_WRITE_VALUE) ||
|
||||
(cmdType == ROCCLR_COMMAND_STREAM_WAIT_VALUE) ||
|
||||
(cmdType == ROCCLR_COMMAND_STREAM_WAIT_VALUE && GPU_STREAMOPS_CP_WAIT &&
|
||||
((cmdType == ROCCLR_COMMAND_STREAM_WAIT_VALUE) && GPU_STREAMOPS_CP_WAIT &&
|
||||
(memory_->getMemFlags() & ROCCLR_MEM_HSA_SIGNAL_MEMORY)) &&
|
||||
"Invalid Stream Operation");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user