[RenderScript] (minor) fix validation of L3 BLAS
bug: 21028875 Change-Id: I9fd48c57b6518e06ee1d9d7d4ca44faa96d887b0
This commit is contained in:
@@ -1039,14 +1039,8 @@ 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");
|
||||
}
|
||||
if (aM != cM) {
|
||||
throw new RSRuntimeException("Called BLAS with invalid dimensions");
|
||||
}
|
||||
} else if (A != null && B != null) {
|
||||
// A and B only
|
||||
|
||||
Reference in New Issue
Block a user