Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 260a2c6b authored by Miao Wang's avatar Miao Wang Committed by Android Git Automerger
Browse files

am d6f3ebf1: Merge "[RenderScript] (minor) fix validation of L3 BLAS" into mnc-dev

* commit 'd6f3ebf1':
  [RenderScript] (minor) fix validation of L3 BLAS
parents 66a59bae d6f3ebf1
Loading
Loading
Loading
Loading
+2 −8
Original line number Diff line number Diff line
@@ -1039,15 +1039,9 @@ public final class ScriptIntrinsicBLAS extends ScriptIntrinsic {
            if (cM != cN) {
                throw new RSRuntimeException("Matrix C is not symmetric");
            }
            if (TransA != NO_TRANSPOSE) {
                if (aN != cM) {
                    throw new RSRuntimeException("Called BLAS with invalid dimensions");
                }
            } else {
            if (aM != cM) {
                throw new RSRuntimeException("Called BLAS with invalid dimensions");
            }
            }
        } else if (A != null && B != null) {
            // A and B only
            if (aN != bM) {