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

Commit d6f3ebf1 authored by Miao Wang's avatar Miao Wang Committed by Android (Google) Code Review
Browse files

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

parents e1176f10 50a8ff10
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) {