Home | History | Annotate | Download | only in cpp

Lines Matching refs:Element

24 using android::RSC::Element;
33 ScriptIntrinsicBLAS::ScriptIntrinsicBLAS(sp<RS> rs, sp<const Element> e)
39 return new ScriptIntrinsicBLAS(rs, Element::U32(rs));
183 static void validateGEMV(RS* mRS, const sp<const Element>& e, RsBlasTranspose TransA, const sp<Allocation>& A,
190 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Called BLAS with wrong Element type");
215 validateGEMV(mRS, Element::F32(mRS), TransA, A, X, incX, Y, incY);
226 validateGEMV(mRS, Element::F64(mRS), TransA, A, X, incX, Y, incY);
237 validateGEMV(mRS, Element::F32_2(mRS), TransA, A, X, incX, Y, incY);
248 validateGEMV(mRS, Element::F64_2(mRS), TransA, A, X, incX, Y, incY);
260 validateGEMV(mRS, Element::F32(mRS), TransA, A, X, incX, Y, incY);
276 validateGEMV(mRS, Element::F64(mRS), TransA, A, X, incX, Y, incY);
292 validateGEMV(mRS, Element::F32_2(mRS), TransA, A, X, incX, Y, incY);
308 validateGEMV(mRS, Element::F64_2(mRS), TransA, A, X, incX, Y, incY);
321 static void validateTRMV(RS* mRS, const sp<const Element>& e, RsBlasUplo Uplo, RsBlasTranspose TransA,
329 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Called BLAS with wrong Element type");
344 static int validateTPMV(RS* mRS, const sp<const Element>& e, RsBlasUplo Uplo, RsBlasTranspose TransA,
348 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Called BLAS with wrong Element type");
376 validateTRMV(mRS, Element::F32(mRS), Uplo, TransA, Diag, A, X, incX);
385 validateTRMV(mRS, Element::F64(mRS), Uplo, TransA, Diag, A, X, incX);
394 validateTRMV(mRS, Element::F32_2(mRS), Uplo, TransA, Diag, A, X, incX);
403 validateTRMV(mRS, Element::F64_2(mRS), Uplo, TransA, Diag, A, X, incX);
416 validateTRMV(mRS, Element::F32(mRS), Uplo, TransA, Diag, A, X, incX);
429 validateTRMV(mRS, Element::F64(mRS), Uplo, TransA, Diag, A, X, incX);
442 validateTRMV(mRS, Element::F32_2(mRS), Uplo, TransA, Diag, A, X, incX);
455 validateTRMV(mRS, Element::F64_2(mRS), Uplo, TransA, Diag, A, X, incX);
464 int N = validateTPMV(mRS, Element::F32(mRS), Uplo, TransA, Diag, Ap, X, incX);
472 int N = validateTPMV(mRS, Element::F64(mRS), Uplo, TransA, Diag, Ap, X, incX);
480 int N = validateTPMV(mRS, Element::F32_2(mRS), Uplo, TransA, Diag, Ap, X, incX);
488 int N = validateTPMV(mRS, Element::F64_2(mRS), Uplo, TransA, Diag, Ap, X, incX);
497 validateTRMV(mRS, Element::F32(mRS), Uplo, TransA, Diag, A, X, incX);
507 validateTRMV(mRS, Element::F64(mRS), Uplo, TransA, Diag, A, X, incX);
518 validateTRMV(mRS, Element::F32_2(mRS), Uplo, TransA, Diag, A, X, incX);
529 validateTRMV(mRS, Element::F64_2(mRS), Uplo, TransA, Diag, A, X, incX);
540 validateTRMV(mRS, Element::F32(mRS), Uplo, TransA, Diag, A, X, incX);
553 validateTRMV(mRS, Element::F64(mRS), Uplo, TransA, Diag, A, X, incX);
566 validateTRMV(mRS, Element::F32_2(mRS), Uplo, TransA, Diag, A, X, incX);
579 validateTRMV(mRS, Element::F64_2(mRS), Uplo, TransA, Diag, A, X, incX);
592 int N = validateTPMV(mRS, Element::F32(mRS), Uplo, TransA, Diag, Ap, X, incX);
601 int N = validateTPMV(mRS, Element::F64(mRS), Uplo, TransA, Diag, Ap, X, incX);
610 int N = validateTPMV(mRS, Element::F32_2(mRS), Uplo, TransA, Diag, Ap, X, incX);
619 int N = validateTPMV(mRS, Element::F64_2(mRS), Uplo, TransA, Diag, Ap, X, incX);
628 static int validateSYMV(RS* mRS, const sp<const Element>& e, RsBlasUplo Uplo, const sp<Allocation>& A,
637 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Called BLAS with wrong Element type");
656 static int validateSPMV(RS* mRS, const sp<const Element>& e, RsBlasUplo Uplo, const sp<Allocation>& Ap,
661 Element type");
689 static void validateGER(RS* mRS, const sp<const Element>& e, const sp<Allocation>& X, int incX,
694 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Called BLAS with wrong Element type");
721 static int validateSYR(RS* mRS, const sp<const Element>& e, RsBlasUplo Uplo,
725 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Called BLAS with wrong Element type");
745 static int validateSPR(RS* mRS, const sp<const Element>& e, RsBlasUplo Uplo,
749 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Called BLAS with wrong Element type");
774 static int validateSYR2(RS* mRS, const sp<const Element>& e, RsBlasUplo Uplo, const sp<Allocation>& X,
779 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Called BLAS with wrong Element type");
802 static int validateSPR2(RS* mRS, const sp<const Element>& e, RsBlasUplo Uplo, const sp<Allocation>& X,
807 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Called BLAS with wrong Element type");
835 int N = validateSYMV(mRS, Element::F32(mRS), Uplo, A, X, Y, incX, incY);
847 int N = validateSYMV(mRS, Element::F32(mRS), Uplo, A, X, Y, incX, incY);
855 int N = validateSPMV(mRS, Element::F32(mRS), Uplo, Ap, X, incX, Y, incY);
865 validateGER(mRS, Element::F32(mRS), X, incX, Y, incY, A);
873 int N = validateSYR(mRS, Element::F32(mRS), Uplo, X, incX, A);
881 int N = validateSPR(mRS, Element::F32(mRS), Uplo, X, incX, Ap);
889 int N = validateSYR2(mRS, Element::F32(mRS), Uplo, X, incX, Y, incY, A);
897 int N = validateSPR2(mRS, Element::F32(mRS), Uplo, X, incX, Y, incY, Ap);
905 int N = validateSYMV(mRS, Element::F64(mRS), Uplo, A, X, Y, incX, incY);
917 int N = validateSYMV(mRS, Element::F64(mRS), Uplo, A, X, Y, incX, incY);
925 int N = validateSPMV(mRS, Element::F64(mRS), Uplo, Ap, X, incX, Y, incY);
935 validateGER(mRS, Element::F64(mRS), X, incX, Y, incY, A);
943 int N = validateSYR(mRS, Element::F64(mRS), Uplo, X, incX, A);
951 int N = validateSPR(mRS, Element::F64(mRS), Uplo, X, incX, Ap);
959 int N = validateSYR2(mRS, Element::F64(mRS), Uplo, X, incX, Y, incY, A);
967 int N = validateSPR2(mRS, Element::F64(mRS), Uplo, X, incX, Y, incY, Ap);
978 static void validateGERU(RS* mRS, const sp<const Element>& e, const sp<Allocation>& X, int incX,
983 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Called BLAS with wrong Element type");
1008 int N = validateSYR2(mRS, Element::F32_2(mRS), Uplo, X, incX, Y, incY, A);
1018 int N = validateSYR2(mRS, Element::F32_2(mRS), Uplo, X, incX, Y, incY, A);
1031 int N = validateSPR2(mRS, Element::F32_2(mRS), Uplo, X, incX, Y, incY, Ap);
1040 validateGERU(mRS, Element::F32_2(mRS), X, incX, Y, incY, A);
1052 validateGERU(mRS, Element::F32_2(mRS), X, incX, Y, incY, A);
1064 int N = validateSYR(mRS, Element::F32_2(mRS), Uplo, X, incX, A);
1074 int N = validateSPR(mRS, Element::F32_2(mRS), Uplo, X, incX, Ap);
1084 int N = validateSYR2(mRS, Element::F32_2(mRS), Uplo, X, incX, Y, incY, A);
1094 int N = validateSPR2(mRS, Element::F32_2(mRS), Uplo, X, incX, Y, incY, Ap);
1104 int N = validateSYR2(mRS, Element::F64_2(mRS), Uplo, X, incX, Y, incY, A);
1114 int N = validateSYR2(mRS, Element::F64_2(mRS), Uplo, X, incX, Y, incY, A);
1127 int N = validateSPR2(mRS, Element::F64_2(mRS), Uplo, X, incX, Y, incY, Ap);
1136 validateGERU(mRS, Element::F64_2(mRS), X, incX, Y, incY, A);
1148 validateGERU(mRS, Element::F64_2(mRS), X, incX, Y, incY, A);
1160 int N = validateSYR(mRS, Element::F64_2(mRS), Uplo, X, incX, A);
1170 int N = validateSPR(mRS, Element::F64_2(mRS), Uplo, X, incX, Ap);
1180 int N = validateSYR2(mRS, Element::F64_2(mRS), Uplo, X, incX, Y, incY, A);
1190 int N = validateSPR2(mRS, Element::F64_2(mRS), Uplo, X, incX, Y, incY, Ap);
1202 static void validateL3(RS* mRS, const sp<const Element>& e, int TransA, int TransB, int Side,
1208 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Called BLAS with wrong Element type");
1272 validateL3(mRS, Element::F32(mRS), TransA, TransB, 0, A, B, C);
1295 validateL3(mRS, Element::F64(mRS), TransA, TransB, 0, A, B, C);
1317 validateL3(mRS, Element::F32_2(mRS), TransA, TransB, 0, A, B, C);
1339 validateL3(mRS, Element::F64_2(mRS), TransA, TransB, 0, A, B, C);
1365 validateL3(mRS, Element::F32(mRS), 0, 0, Side, A, B, C);
1377 validateL3(mRS, Element::F64(mRS), 0, 0, Side, A, B, C);
1389 validateL3(mRS, Element::F32_2(mRS), 0, 0, Side, A, B, C);
1401 validateL3(mRS, Element::F64_2(mRS), 0, 0, Side, A, B, C);
1410 validateL3(mRS, Element::F32(mRS), Trans, 0, 0, A, nullptr, C);
1425 validateL3(mRS, Element::F64(mRS), Trans, 0, 0, A, nullptr, C);
1440 validateL3(mRS, Element::F32_2(mRS), Trans, 0, 0, A, nullptr, C);
1455 validateL3(mRS, Element::F64_2(mRS), Trans, 0, 0, A, nullptr, C);
1468 static void validateSYR2K(RS* mRS, const sp<const Element>& e, RsBlasTranspose Trans,
1473 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Called BLAS with wrong Element type");
1496 validateSYR2K(mRS, Element::F32(mRS), Trans, A, B, C);
1511 validateSYR2K(mRS, Element::F64(mRS), Trans, A, B, C);
1526 validateSYR2K(mRS, Element::F32_2(mRS), Trans, A, B, C);
1541 validateSYR2K(mRS, Element::F64_2(mRS), Trans, A, B, C);
1554 static void validateTRMM(RS* mRS, const sp<const Element>& e, RsBlasSide Side, RsBlasTranspose TransA,
1559 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Called BLAS with wrong Element type");
1583 validateTRMM(mRS, Element::F32(mRS), Side, TransA, A, B);
1592 validateTRMM(mRS, Element::F64(mRS), Side, TransA, A, B);
1601 validateTRMM(mRS, Element::F32_2(mRS), Side, TransA, A, B);
1610 validateTRMM(mRS, Element::F64_2(mRS), Side, TransA, A, B);
1617 static void validateTRSM(RS* mRS, const sp<const Element>& e, RsBlasSide Side, RsBlasTranspose TransA,
1622 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Called BLAS with wrong Element type");
1648 validateTRSM(mRS, Element::F32(mRS), Side, TransA, A, B);
1657 validateTRSM(mRS, Element::F64(mRS), Side, TransA, A, B);
1666 validateTRSM(mRS, Element::F32_2(mRS), Side, TransA, A, B);
1675 validateTRSM(mRS, Element::F64_2(mRS), Side, TransA, A, B);
1682 static void validateHEMM(RS* mRS, const sp<const Element>& e, RsBlasSide Side,
1687 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Called BLAS with wrong Element type");
1707 validateHEMM(mRS, Element::F32_2(mRS), Side, A, B, C);
1717 validateHEMM(mRS, Element::F64_2(mRS), Side, A, B, C);
1725 static void validateHERK(RS* mRS, const sp<const Element>& e, RsBlasTranspose Trans,
1729 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Called BLAS with wrong Element type");
1751 validateHERK(mRS, Element::F32_2(mRS), Trans, A, C);
1766 validateHERK(mRS, Element::F64_2(mRS), Trans, A, C);
1779 static void validateHER2K(RS* mRS, const sp<const Element>& e, RsBlasTranspose Trans,
1784 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Called BLAS with wrong Element type");
1809 validateHER2K(mRS, Element::F32_2(mRS), Trans, A, B, C);
1824 validateHER2K(mRS, Element::F64_2(mRS), Trans, A, B, C);
1841 validateL3(mRS, Element::U8(mRS), RsBlasNoTrans, RsBlasTrans, 0, A, B, C);