Files
compute-runtime/core/unit_tests
Sebastian Sanchez f936b3e1cd Fix calculation in encodeGreaterThanPredicate()
encodeGreaterThanPredicate() computes *firstOperand > secondOperand and
stores the result in MI_PREDICATE_RESULT where firstOperand is an
device memory address.

To calculate the "greater than" operation in the device,
(secondOperand - *firstOperand) needs to be used, and if the carry flag
register is set, then (*firstOperand) is greater than secondOperand.

The order of operands in the subtraction (secondOperand - *firstOperand)
in encodeGreaterThanPredicate() is incorrect. Transpose the
operands.

Change-Id: Ie7fee32af338a1a3948abc78cf8332e0be8595ac
Signed-off-by: Sebastian Sanchez <sebastian.sanchez@intel.com>
2020-02-11 10:58:06 +01:00
..
2020-02-08 13:03:29 +01:00
2020-01-21 16:07:42 +01:00
2020-01-21 16:07:42 +01:00
2020-02-08 13:03:29 +01:00
2020-02-10 22:25:04 +01:00
2019-06-18 07:18:18 +02:00