Lines Matching refs:incX
52 int M, int N, int K, int incX, int incY, int KL, int KU,
98 call.incX = incX;
110 float beta, RsAllocation C, int incX, int incY, int KL, int KU) {
112 M, N, K, incX, incY, KL, KU, alpha, beta, 0.0, 0.0,
124 double beta, RsAllocation C, int incX, int incY, int KL, int KU) {
126 M, N, K, incX, incY, KL, KU, 0.0f, 0.0f, alpha, beta,
137 float betaX, float betaY, RsAllocation C, int incX, int incY, int KL, int KU) {
139 M, N, K, incX, incY, KL, KU, 0.0f, 0.0f, 0.0, 0.0,
150 double betaX, double betaY, RsAllocation C, int incX, int incY, int KL, int KU) {
152 M, N, K, incX, incY, KL, KU, 0.0f, 0.0f, 0.0, 0.0,
184 const sp<Allocation>& X, int incX, const sp<Allocation>& Y, int incY) {
196 if (incX <= 0 || incY <= 0) {
201 expectedXDim = 1 + (N - 1) * incX;
204 expectedXDim = 1 + (M - 1) * incX;
214 int incX, float beta, const sp<Allocation>& Y, int incY) {
215 validateGEMV(mRS, Element::F32(mRS), TransA, A, X, incX, Y, incY);
221 beta, Y->getID(), incX, incY, 0, 0);
225 int incX, double beta, const sp<Allocation>& Y, int incY) {
226 validateGEMV(mRS, Element::F64(mRS), TransA, A, X, incX, Y, incY);
232 beta, Y->getID(), incX, incY, 0, 0);
236 int incX, Float2 beta, const sp<Allocation>& Y, int incY) {
237 validateGEMV(mRS, Element::F32_2(mRS), TransA, A, X, incX, Y, incY);
243 beta.x, beta.y, Y->getID(), incX, incY, 0, 0);
247 int incX, Double2 beta, const sp<Allocation>& Y, int incY) {
248 validateGEMV(mRS, Element::F64_2(mRS), TransA, A, X, incX, Y, incY);
254 beta.x, beta.y, Y->getID(), incX, incY, 0, 0);
258 const sp<Allocation>& X, int incX, float beta, const sp<Allocation>& Y, int incY) {
260 validateGEMV(mRS, Element::F32(mRS), TransA, A, X, incX, Y, incY);
270 beta, Y->getID(), incX, incY, KL, KU);
274 const sp<Allocation>& X, int incX, double beta, const sp<Allocation>& Y, int incY) {
276 validateGEMV(mRS, Element::F64(mRS), TransA, A, X, incX, Y, incY);
286 beta, Y->getID(), incX, incY, KL, KU);
290 const sp<Allocation>& X, int incX, Float2 beta, const sp<Allocation>& Y, int incY) {
292 validateGEMV(mRS, Element::F32_2(mRS), TransA, A, X, incX, Y, incY);
302 beta.x, beta.y, Y->getID(), incX, incY, KL, KU);
306 const sp<Allocation>& X, int incX, Double2 beta, const sp<Allocation>& Y, int incY) {
308 validateGEMV(mRS, Element::F64_2(mRS), TransA, A, X, incX, Y, incY);
318 beta.x, beta.y, Y->getID(), incX, incY, KL, KU);
322 RsBlasDiag Diag, const sp<Allocation>& A, const sp<Allocation>& X, int incX) {
335 if (incX <= 0) {
338 int expectedXDim = 1 + (N - 1) * incX;
345 RsBlasDiag Diag, const sp<Allocation>& Ap, const sp<Allocation>& X, int incX) {
362 if (incX <= 0) {
365 int expectedXDim = 1 + (N - 1) * incX;
375 const sp<Allocation>& A, const sp<Allocation>& X, int incX) {
376 validateTRMV(mRS, Element::F32(mRS), Uplo, TransA, Diag, A, X, incX);
380 A->getID(), X->getID(), 0, 0, incX, 0, 0, 0);
384 const sp<Allocation>& A, const sp<Allocation>& X, int incX) {
385 validateTRMV(mRS, Element::F64(mRS), Uplo, TransA, Diag, A, X, incX);
389 A->getID(), X->getID(), 0, 0, incX, 0, 0, 0);
393 const sp<Allocation>& A, const sp<Allocation>& X, int incX) {
394 validateTRMV(mRS, Element::F32_2(mRS), Uplo, TransA, Diag, A, X, incX);
398 A->getID(), X->getID(), 0, 0, 0, incX, 0, 0, 0);
402 const sp<Allocation>& A, const sp<Allocation>& X, int incX) {
403 validateTRMV(mRS, Element::F64_2(mRS), Uplo, TransA, Diag, A, X, incX);
407 A->getID(), X->getID(), 0, 0, 0, incX, 0, 0, 0);
411 int K, const sp<Allocation>& A, const sp<Allocation>& X, int incX) {
416 validateTRMV(mRS, Element::F32(mRS), Uplo, TransA, Diag, A, X, incX);
420 A->getID(), X->getID(), 0, 0, incX, 0, 0, 0);
424 int K, const sp<Allocation>& A, const sp<Allocation>& X, int incX) {
429 validateTRMV(mRS, Element::F64(mRS), Uplo, TransA, Diag, A, X, incX);
433 A->getID(), X->getID(), 0, 0, incX, 0, 0, 0);
437 int K, const sp<Allocation>& A, const sp<Allocation>& X, int incX) {
442 validateTRMV(mRS, Element::F32_2(mRS), Uplo, TransA, Diag, A, X, incX);
446 A->getID(), X->getID(), 0, 0, 0, incX, 0, 0, 0);
450 int K, const sp<Allocation>& A, const sp<Allocation>& X, int incX) {
455 validateTRMV(mRS, Element::F64_2(mRS), Uplo, TransA, Diag, A, X, incX);
459 A->getID(), X->getID(), 0, 0, 0, incX, 0, 0, 0);
463 const sp<Allocation>& Ap, const sp<Allocation>& X, int incX) {
464 int N = validateTPMV(mRS, Element::F32(mRS), Uplo, TransA, Diag, Ap, X, incX);
467 Ap->getID(), X->getID(), 0, 0, incX, 0, 0, 0);
471 const sp<Allocation>& Ap, const sp<Allocation>& X, int incX) {
472 int N = validateTPMV(mRS, Element::F64(mRS), Uplo, TransA, Diag, Ap, X, incX);
475 Ap->getID(), X->getID(), 0, 0, incX, 0, 0, 0);
479 const sp<Allocation>& Ap, const sp<Allocation>& X, int incX) {
480 int N = validateTPMV(mRS, Element::F32_2(mRS), Uplo, TransA, Diag, Ap, X, incX);
483 Ap->getID(), X->getID(), 0, 0, 0, incX, 0, 0, 0);
487 const sp<Allocation>& Ap, const sp<Allocation>& X, int incX) {
488 int N = validateTPMV(mRS, Element::F64_2(mRS), Uplo, TransA, Diag, Ap, X, incX);
491 Ap->getID(), X->getID(), 0, 0, 0, incX, 0, 0, 0);
495 const sp<Allocation>& A, const sp<Allocation>& X, int incX) {
497 validateTRMV(mRS, Element::F32(mRS), Uplo, TransA, Diag, A, X, incX);
501 A->getID(), X->getID(), 0, 0, incX, 0, 0, 0);
505 const sp<Allocation>& A, const sp<Allocation>& X, int incX) {
507 validateTRMV(mRS, Element::F64(mRS), Uplo, TransA, Diag, A, X, incX);
511 A->getID(), X->getID(), 0, 0, incX, 0, 0, 0);
516 const sp<Allocation>& A, const sp<Allocation>& X, int incX) {
518 validateTRMV(mRS, Element::F32_2(mRS), Uplo, TransA, Diag, A, X, incX);
522 A->getID(), X->getID(), 0, 0, 0, incX, 0, 0, 0);
527 const sp<Allocation>& A, const sp<Allocation>& X, int incX) {
529 validateTRMV(mRS, Element::F64_2(mRS), Uplo, TransA, Diag, A, X, incX);
533 A->getID(), X->getID(), 0, 0, 0, incX, 0, 0, 0);
538 int K, const sp<Allocation>& A, const sp<Allocation>& X, int incX) {
540 validateTRMV(mRS, Element::F32(mRS), Uplo, TransA, Diag, A, X, incX);
547 A->getID(), X->getID(), 0, 0, incX, 0, 0, 0);
551 int K, const sp<Allocation>& A, const sp<Allocation>& X, int incX) {
553 validateTRMV(mRS, Element::F64(mRS), Uplo, TransA, Diag, A, X, incX);
560 A->getID(), X->getID(), 0, 0, incX, 0, 0, 0);
564 int K, const sp<Allocation>& A, const sp<Allocation>& X, int incX) {
566 validateTRMV(mRS, Element::F32_2(mRS), Uplo, TransA, Diag, A, X, incX);
573 0, 0, A->getID(), X->getID(), 0, 0, 0, incX, 0, 0, 0);
577 int K, const sp<Allocation>& A, const sp<Allocation>& X, int incX) {
579 validateTRMV(mRS, Element::F64_2(mRS), Uplo, TransA, Diag, A, X, incX);
586 A->getID(), X->getID(), 0, 0, 0, incX, 0, 0, 0);
590 const sp<Allocation>& Ap, const sp<Allocation>& X, int incX) {
592 int N = validateTPMV(mRS, Element::F32(mRS), Uplo, TransA, Diag, Ap, X, incX);
595 Ap->getID(), X->getID(), 0, 0, incX, 0, 0, 0);
599 const sp<Allocation>& Ap, const sp<Allocation>& X, int incX) {
601 int N = validateTPMV(mRS, Element::F64(mRS), Uplo, TransA, Diag, Ap, X, incX);
604 Ap->getID(), X->getID(), 0, 0, incX, 0, 0, 0);
608 const sp<Allocation>& Ap, const sp<Allocation>& X, int incX) {
610 int N = validateTPMV(mRS, Element::F32_2(mRS), Uplo, TransA, Diag, Ap, X, incX);
613 Ap->getID(), X->getID(), 0, 0, 0, incX, 0, 0, 0);
617 const sp<Allocation>& Ap, const sp<Allocation>& X, int incX) {
619 int N = validateTPMV(mRS, Element::F64_2(mRS), Uplo, TransA, Diag, Ap, X, incX);
622 Ap->getID(), X->getID(), 0, 0, 0, incX, 0, 0, 0);
629 const sp<Allocation>& X, const sp<Allocation>& Y, int incX, int incY) {
643 if (incX <= 0 || incY <= 0) {
646 int expectedXDim = 1 + (N - 1) * incX;
657 const sp<Allocation>& X, int incX, const sp<Allocation>& Y, int incY) {
675 if (incX <= 0 || incY <= 0) {
678 int expectedXDim = 1 + (N - 1) * incX;
689 static void validateGER(RS* mRS, const sp<const Element>& e, const sp<Allocation>& X, int incX,
707 if (incX <= 0 || incY <= 0) {
710 int expectedXDim = 1 + (M - 1) * incX;
722 const sp<Allocation>& X, int incX, const sp<Allocation>& A) {
736 if (incX <= 0) {
739 int expectedXDim = 1 + (N - 1) * incX;
746 const sp<Allocation>& X, int incX, const sp<Allocation>& Ap) {
763 if (incX <= 0) {
766 int expectedXDim = 1 + (N - 1) * incX;
775 int incX, const sp<Allocation>& Y, int incY, const sp<Allocation>& A) {
791 if (incX <= 0 || incY <= 0) {
794 int expectedXDim = 1 + (N - 1) * incX;
803 int incX, const sp<Allocation>& Y, int incY, const sp<Allocation>& Ap) {
821 if (incX <= 0 || incY <= 0) {
824 int expectedXDim = 1 + (N - 1) * incX;
834 int incX, float beta, const sp<Allocation>& Y, int incY) {
835 int N = validateSYMV(mRS, Element::F32(mRS), Uplo, A, X, Y, incX, incY);
838 A->getID(), X->getID(), beta, Y->getID(), incX, incY, 0, 0);
842 int incX, float beta, const sp<Allocation>& Y, int incY) {
847 int N = validateSYMV(mRS, Element::F32(mRS), Uplo, A, X, Y, incX, incY);
850 A->getID(), X->getID(), beta, Y->getID(), incX, incY, 0, 0);
854 int incX, float beta, const sp<Allocation>& Y, int incY) {
855 int N = validateSPMV(mRS, Element::F32(mRS), Uplo, Ap, X, incX, Y, incY);
858 Ap->getID(), X->getID(), beta, Y->getID(), incX, incY, 0, 0);
861 void ScriptIntrinsicBLAS::SGER(float alpha, const sp<Allocation>& X, int incX,
865 validateGER(mRS, Element::F32(mRS), X, incX, Y, incY, A);
868 X->getID(), Y->getID(), 0.f, A->getID(), incX, incY, 0, 0);
872 int incX, const sp<Allocation>& A) {
873 int N = validateSYR(mRS, Element::F32(mRS), Uplo, X, incX, A);
876 X->getID(), A->getID(), 0.f, 0, incX, 0, 0, 0);
880 int incX, const sp<Allocation>& Ap) {
881 int N = validateSPR(mRS, Element::F32(mRS), Uplo, X, incX, Ap);
884 alpha, X->getID(), Ap->getID(), 0.f, 0, incX, 0, 0, 0);
887 void ScriptIntrinsicBLAS::SSYR2(RsBlasUplo Uplo, float alpha, const sp<Allocation>& X, int incX,
889 int N = validateSYR2(mRS, Element::F32(mRS), Uplo, X, incX, Y, incY, A);
892 X->getID(), Y->getID(), 0, A->getID(), incX, incY, 0, 0);
895 void ScriptIntrinsicBLAS::SSPR2(RsBlasUplo Uplo, float alpha, const sp<Allocation>& X, int incX,
897 int N = validateSPR2(mRS, Element::F32(mRS), Uplo, X, incX, Y, incY, Ap);
900 X->getID(), Y->getID(), 0, Ap->getID(), incX, incY, 0, 0);
904 int incX, double beta, const sp<Allocation>& Y, int incY) {
905 int N = validateSYMV(mRS, Element::F64(mRS), Uplo, A, X, Y, incX, incY);
908 A->getID(), X->getID(), beta, Y->getID(), incX, incY, 0, 0);
912 int incX, double beta, const sp<Allocation>& Y, int incY) {
917 int N = validateSYMV(mRS, Element::F64(mRS), Uplo, A, X, Y, incX, incY);
920 A->getID(), X->getID(), beta, Y->getID(), incX, incY, 0, 0);
924 int incX, double beta, const sp<Allocation>& Y, int incY) {
925 int N = validateSPMV(mRS, Element::F64(mRS), Uplo, Ap, X, incX, Y, incY);
928 Ap->getID(), X->getID(), beta, Y->getID(), incX, incY, 0, 0);
931 void ScriptIntrinsicBLAS::DGER(double alpha, const sp<Allocation>& X, int incX, const sp<Allocation>& Y,
935 validateGER(mRS, Element::F64(mRS), X, incX, Y, incY, A);
938 X->getID(), Y->getID(), 0.f, A->getID(), incX, incY, 0, 0);
942 int incX, const sp<Allocation>& A) {
943 int N = validateSYR(mRS, Element::F64(mRS), Uplo, X, incX, A);
946 X->getID(), A->getID(), 0.f, 0, incX, 0, 0, 0);
950 int incX, const sp<Allocation>& Ap) {
951 int N = validateSPR(mRS, Element::F64(mRS), Uplo, X, incX, Ap);
954 X->getID(), Ap->getID(), 0.f, 0, incX, 0, 0, 0);
957 void ScriptIntrinsicBLAS::DSYR2(RsBlasUplo Uplo, double alpha, const sp<Allocation>& X, int incX,
959 int N = validateSYR2(mRS, Element::F64(mRS), Uplo, X, incX, Y, incY, A);
962 X->getID(), Y->getID(), 0, A->getID(), incX, incY, 0, 0);
965 void ScriptIntrinsicBLAS::DSPR2(RsBlasUplo Uplo, double alpha, const sp<Allocation>& X, int incX,
967 int N = validateSPR2(mRS, Element::F64(mRS), Uplo, X, incX, Y, incY, Ap);
970 X->getID(), Y->getID(), 0, Ap->getID(), incX, incY, 0, 0);
978 static void validateGERU(RS* mRS, const sp<const Element>& e, const sp<Allocation>& X, int incX,
991 if (incX <= 0 || incY <= 0) {
994 int expectedXDim = 1 + (M - 1) * incX;
1006 const sp<Allocation>& X, int incX, Float2 beta, const sp<Allocation>& Y, int incY) {
1008 int N = validateSYR2(mRS, Element::F32_2(mRS), Uplo, X, incX, Y, incY, A);
1012 beta.x, beta.y, Y->getID(), incX, incY, 0, 0);
1016 const sp<Allocation>& X, int incX, Float2 beta, const sp<Allocation>& Y, int incY) {
1018 int N = validateSYR2(mRS, Element::F32_2(mRS), Uplo, X, incX, Y, incY, A);
1025 beta.x, beta.y, Y->getID(), incX, incY, 0, 0);
1029 const sp<Allocation>& X, int incX, Float2 beta, const sp<Allocation>& Y, int incY) {
1031 int N = validateSPR2(mRS, Element::F32_2(mRS), Uplo, X, incX, Y, incY, Ap);
1035 beta.x, beta.y, Y->getID(), incX, incY, 0, 0);
1038 void ScriptIntrinsicBLAS::CGERU(Float2 alpha, const sp<Allocation>& X, int incX,
1040 validateGERU(mRS, Element::F32_2(mRS), X, incX, Y, incY, A);
1046 0, 0, A->getID(), incX, incY, 0, 0);
1049 void ScriptIntrinsicBLAS::CGERC(Float2 alpha, const sp<Allocation>& X, int incX,
1052 validateGERU(mRS, Element::F32_2(mRS), X, incX, Y, incY, A);
1058 0, 0, A->getID(), incX, incY, 0, 0);
1062 int incX, const sp<Allocation>& A) {
1064 int N = validateSYR(mRS, Element::F32_2(mRS), Uplo, X, incX, A);
1068 0, 0, A->getID(), incX, 0, 0, 0);
1072 int incX, const sp<Allocation>& Ap) {
1074 int N = validateSPR(mRS, Element::F32_2(mRS), Uplo, X, incX, Ap);
1078 0, 0, Ap->getID(), incX, 0, 0, 0);
1081 void ScriptIntrinsicBLAS::CHER2(RsBlasUplo Uplo, Float2 alpha, const sp<Allocation>& X, int incX,
1084 int N = validateSYR2(mRS, Element::F32_2(mRS), Uplo, X, incX, Y, incY, A);
1088 0, 0, A->getID(), incX, incY, 0, 0);
1091 void ScriptIntrinsicBLAS::CHPR2(RsBlasUplo Uplo, Float2 alpha, const sp<Allocation>& X, int incX,
1094 int N = validateSPR2(mRS, Element::F32_2(mRS), Uplo, X, incX, Y, incY, Ap);
1098 0, 0, Ap->getID(), incX, incY, 0, 0);
1102 const sp<Allocation>& X, int incX, Double2 beta, const sp<Allocation>& Y, int incY) {
1104 int N = validateSYR2(mRS, Element::F64_2(mRS), Uplo, X, incX, Y, incY, A);
1108 beta.x, beta.y, Y->getID(), incX, incY, 0, 0);
1112 int incX, Double2 beta, const sp<Allocation>& Y, int incY) {
1114 int N = validateSYR2(mRS, Element::F64_2(mRS), Uplo, X, incX, Y, incY, A);
1121 beta.x, beta.y, Y->getID(), incX, incY, 0, 0);
1125 int incX, Double2 beta, const sp<Allocation>& Y, int incY) {
1127 int N = validateSPR2(mRS, Element::F64_2(mRS), Uplo, X, incX, Y, incY, Ap);
1131 beta.x, beta.y, Y->getID(), incX, incY, 0, 0);
1134 void ScriptIntrinsicBLAS::ZGERU(Double2 alpha, const sp<Allocation>& X, int incX,
1136 validateGERU(mRS, Element::F64_2(mRS), X, incX, Y, incY, A);
1142 0, 0, A->getID(), incX, incY, 0, 0);
1145 void ScriptIntrinsicBLAS::ZGERC(Double2 alpha, const sp<Allocation>& X, int incX,
1148 validateGERU(mRS, Element::F64_2(mRS), X, incX, Y, incY, A);
1154 0, 0, A->getID(), incX, incY, 0, 0);
1158 int incX, const sp<Allocation>& A) {
1160 int N = validateSYR(mRS, Element::F64_2(mRS), Uplo, X, incX, A);
1164 0, 0, A->getID(), incX, 0, 0, 0);
1168 int incX, const sp<Allocation>& Ap) {
1170 int N = validateSPR(mRS, Element::F64_2(mRS), Uplo, X, incX, Ap);
1174 0, 0, Ap->getID(), incX, 0, 0, 0);
1177 void ScriptIntrinsicBLAS::ZHER2(RsBlasUplo Uplo, Double2 alpha, const sp<Allocation>& X, int incX,
1180 int N = validateSYR2(mRS, Element::F64_2(mRS), Uplo, X, incX, Y, incY, A);
1184 0, 0, A->getID(), incX, incY, 0, 0);
1187 void ScriptIntrinsicBLAS::ZHPR2(RsBlasUplo Uplo, Double2 alpha, const sp<Allocation>& X, int incX,
1190 int N = validateSPR2(mRS, Element::F64_2(mRS), Uplo, X, incX, Y, incY, Ap);
1194 0, 0, Ap->getID(), incX, incY, 0, 0);