Merge "[RenderScript] L2 BLAS, fix element type in ZHER"

This commit is contained in:
Miao Wang
2015-05-07 23:28:12 +00:00
committed by Gerrit Code Review

View File

@@ -961,7 +961,7 @@ public final class ScriptIntrinsicBLAS extends ScriptIntrinsic {
}
void ZHER(@Uplo int Uplo, double alpha, Allocation X, int incX, Allocation A) {
// same as SYR
int N = validateSYR(Element.F64(mRS), Uplo, X, incX, A);
int N = validateSYR(Element.F64_2(mRS), Uplo, X, incX, A);
mRS.nScriptIntrinsicBLAS_Z(getID(mRS), RsBlas_zher, 0, 0, 0, Uplo, 0, 0, N, 0, alpha, 0, X.getID(mRS), 0, 0, 0, A.getID(mRS), incX, 0, 0, 0);
}
void ZHPR(@Uplo int Uplo, double alpha, Allocation X, int incX, Allocation Ap) {