Home
last modified time | relevance | path

Searched refs:lda (Results 1 – 25 of 221) sorted by relevance

123456789

/external/cblas/include/
Dcblas.h149 const float alpha, const float *A, const int lda,
155 const float *A, const int lda, const float *X,
159 const int N, const float *A, const int lda,
163 const int N, const int K, const float *A, const int lda,
170 const int N, const float *A, const int lda, float *X,
174 const int N, const int K, const float *A, const int lda,
182 const double alpha, const double *A, const int lda,
188 const double *A, const int lda, const double *X,
192 const int N, const double *A, const int lda,
196 const int N, const int K, const double *A, const int lda,
[all …]
/external/cblas/testing/
Dc_cblas2.c13 CBLAS_TEST_COMPLEX *a, int *lda, const void *x, int *incx, in F77_cgemv() argument
26 A[ LDA*i+j ].real=a[ (*lda)*j+i ].real; in F77_cgemv()
27 A[ LDA*i+j ].imag=a[ (*lda)*j+i ].imag; in F77_cgemv()
35 *m, *n, alpha, a, *lda, x, *incx, beta, y, *incy ); in F77_cgemv()
38 *m, *n, alpha, a, *lda, x, *incx, beta, y, *incy ); in F77_cgemv()
42 CBLAS_TEST_COMPLEX *alpha, CBLAS_TEST_COMPLEX *a, int *lda, in F77_cgbmv() argument
58 A[ LDA*(j-jcol)+irow ].real=a[ (*lda)*j+i ].real; in F77_cgbmv()
59 A[ LDA*(j-jcol)+irow ].imag=a[ (*lda)*j+i ].imag; in F77_cgbmv()
65 A[ LDA*j+irow ].real=a[ (*lda)*j+i ].real; in F77_cgbmv()
66 A[ LDA*j+irow ].imag=a[ (*lda)*j+i ].imag; in F77_cgbmv()
[all …]
Dc_zblas2.c13 CBLAS_TEST_ZOMPLEX *a, int *lda, const void *x, int *incx, in F77_zgemv() argument
26 A[ LDA*i+j ].real=a[ (*lda)*j+i ].real; in F77_zgemv()
27 A[ LDA*i+j ].imag=a[ (*lda)*j+i ].imag; in F77_zgemv()
35 *m, *n, alpha, a, *lda, x, *incx, beta, y, *incy ); in F77_zgemv()
38 *m, *n, alpha, a, *lda, x, *incx, beta, y, *incy ); in F77_zgemv()
42 CBLAS_TEST_ZOMPLEX *alpha, CBLAS_TEST_ZOMPLEX *a, int *lda, in F77_zgbmv() argument
58 A[ LDA*(j-jcol)+irow ].real=a[ (*lda)*j+i ].real; in F77_zgbmv()
59 A[ LDA*(j-jcol)+irow ].imag=a[ (*lda)*j+i ].imag; in F77_zgbmv()
65 A[ LDA*j+irow ].real=a[ (*lda)*j+i ].real; in F77_zgbmv()
66 A[ LDA*j+irow ].imag=a[ (*lda)*j+i ].imag; in F77_zgbmv()
[all …]
Dc_zblas3.c15 int *k, CBLAS_TEST_ZOMPLEX *alpha, CBLAS_TEST_ZOMPLEX *a, int *lda, in F77_zgemm() argument
32 A[i*LDA+j].real=a[j*(*lda)+i].real; in F77_zgemm()
33 A[i*LDA+j].imag=a[j*(*lda)+i].imag; in F77_zgemm()
41 A[i*LDA+j].real=a[j*(*lda)+i].real; in F77_zgemm()
42 A[i*LDA+j].imag=a[j*(*lda)+i].imag; in F77_zgemm()
84 cblas_zgemm( CblasColMajor, transa, transb, *m, *n, *k, alpha, a, *lda, in F77_zgemm()
87 cblas_zgemm( UNDEFINED, transa, transb, *m, *n, *k, alpha, a, *lda, in F77_zgemm()
91 CBLAS_TEST_ZOMPLEX *alpha, CBLAS_TEST_ZOMPLEX *a, int *lda, in F77_zhemm() argument
109 A[i*LDA+j].real=a[j*(*lda)+i].real; in F77_zhemm()
110 A[i*LDA+j].imag=a[j*(*lda)+i].imag; in F77_zhemm()
[all …]
Dc_cblas3.c15 int *k, CBLAS_TEST_COMPLEX *alpha, CBLAS_TEST_COMPLEX *a, int *lda, in F77_cgemm() argument
32 A[i*LDA+j].real=a[j*(*lda)+i].real; in F77_cgemm()
33 A[i*LDA+j].imag=a[j*(*lda)+i].imag; in F77_cgemm()
41 A[i*LDA+j].real=a[j*(*lda)+i].real; in F77_cgemm()
42 A[i*LDA+j].imag=a[j*(*lda)+i].imag; in F77_cgemm()
84 cblas_cgemm( CblasColMajor, transa, transb, *m, *n, *k, alpha, a, *lda, in F77_cgemm()
87 cblas_cgemm( UNDEFINED, transa, transb, *m, *n, *k, alpha, a, *lda, in F77_cgemm()
91 CBLAS_TEST_COMPLEX *alpha, CBLAS_TEST_COMPLEX *a, int *lda, in F77_chemm() argument
109 A[i*LDA+j].real=a[j*(*lda)+i].real; in F77_chemm()
110 A[i*LDA+j].imag=a[j*(*lda)+i].imag; in F77_chemm()
[all …]
Dc_dblas2.c12 double *a, int *lda, double *x, int *incx, double *beta, in F77_dgemv() argument
25 A[ LDA*i+j ]=a[ (*lda)*j+i ]; in F77_dgemv()
32 *m, *n, *alpha, a, *lda, x, *incx, *beta, y, *incy ); in F77_dgemv()
35 *m, *n, *alpha, a, *lda, x, *incx, *beta, y, *incy ); in F77_dgemv()
39 double *y, int *incy, double *a, int *lda ) { in F77_dger() argument
50 A[ LDA*i+j ]=a[ (*lda)*j+i ]; in F77_dger()
56 a[ (*lda)*j+i ]=A[ LDA*i+j ]; in F77_dger()
60 cblas_dger( CblasColMajor, *m, *n, *alpha, x, *incx, y, *incy, a, *lda ); in F77_dger()
64 int *n, double *a, int *lda, double *x, int *incx) { in F77_dtrmv() argument
80 A[ LDA*i+j ]=a[ (*lda)*j+i ]; in F77_dtrmv()
[all …]
Dc_sblas2.c12 float *a, int *lda, float *x, int *incx, float *beta, in F77_sgemv() argument
25 A[ LDA*i+j ]=a[ (*lda)*j+i ]; in F77_sgemv()
32 *m, *n, *alpha, a, *lda, x, *incx, *beta, y, *incy ); in F77_sgemv()
35 *m, *n, *alpha, a, *lda, x, *incx, *beta, y, *incy ); in F77_sgemv()
39 float *y, int *incy, float *a, int *lda ) { in F77_sger() argument
50 A[ LDA*i+j ]=a[ (*lda)*j+i ]; in F77_sger()
56 a[ (*lda)*j+i ]=A[ LDA*i+j ]; in F77_sger()
60 cblas_sger( CblasColMajor, *m, *n, *alpha, x, *incx, y, *incy, a, *lda ); in F77_sger()
64 int *n, float *a, int *lda, float *x, int *incx) { in F77_strmv() argument
80 A[ LDA*i+j ]=a[ (*lda)*j+i ]; in F77_strmv()
[all …]
Dc_sblas3.c13 int *k, float *alpha, float *a, int *lda, float *b, int *ldb, in F77_sgemm() argument
29 A[i*LDA+j]=a[j*(*lda)+i]; in F77_sgemm()
36 A[i*LDA+j]=a[j*(*lda)+i]; in F77_sgemm()
67 cblas_sgemm( CblasColMajor, transa, transb, *m, *n, *k, *alpha, a, *lda, in F77_sgemm()
70 cblas_sgemm( UNDEFINED, transa, transb, *m, *n, *k, *alpha, a, *lda, in F77_sgemm()
74 float *alpha, float *a, int *lda, float *b, int *ldb, in F77_ssymm() argument
91 A[i*LDA+j]=a[j*(*lda)+i]; in F77_ssymm()
98 A[i*LDA+j]=a[j*(*lda)+i]; in F77_ssymm()
120 cblas_ssymm( CblasColMajor, side, uplo, *m, *n, *alpha, a, *lda, b, *ldb, in F77_ssymm()
123 cblas_ssymm( UNDEFINED, side, uplo, *m, *n, *alpha, a, *lda, b, *ldb, in F77_ssymm()
[all …]
Dc_dblas3.c15 int *k, double *alpha, double *a, int *lda, double *b, int *ldb, in F77_dgemm() argument
31 A[i*LDA+j]=a[j*(*lda)+i]; in F77_dgemm()
38 A[i*LDA+j]=a[j*(*lda)+i]; in F77_dgemm()
70 cblas_dgemm( CblasColMajor, transa, transb, *m, *n, *k, *alpha, a, *lda, in F77_dgemm()
73 cblas_dgemm( UNDEFINED, transa, transb, *m, *n, *k, *alpha, a, *lda, in F77_dgemm()
77 double *alpha, double *a, int *lda, double *b, int *ldb, in F77_dsymm() argument
94 A[i*LDA+j]=a[j*(*lda)+i]; in F77_dsymm()
101 A[i*LDA+j]=a[j*(*lda)+i]; in F77_dsymm()
123 cblas_dsymm( CblasColMajor, side, uplo, *m, *n, *alpha, a, *lda, b, *ldb, in F77_dsymm()
126 cblas_dsymm( UNDEFINED, side, uplo, *m, *n, *alpha, a, *lda, b, *ldb, in F77_dsymm()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dcuda_solvers.cc329 const Scalar* A, int lda, in GeamImpl() argument
336 reinterpret_cast<const CudaScalar*>(A), lda, in GeamImpl()
348 const Scalar* A, int lda, \
352 transb, m, n, alpha, A, lda, beta, B, ldb, C, ldc); \
362 cublasFillMode_t uplo, int n, Scalar* A, int lda, in PotrfImpl() argument
368 bufsize(cusolver_dn_handle, uplo, n, CUDAComplex(A), lda, &lwork)); in PotrfImpl()
374 cusolver_dn_handle, uplo, n, CUDAComplex(A), lda, in PotrfImpl()
382 int lda, int* dev_lapack_info) { \
385 cusolver_dn_handle_, uplo, n, A, lda, dev_lapack_info); \
395 int n, Scalar* A, int lda, int* dev_pivots, in GetrfImpl() argument
[all …]
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_blas.cc872 const DeviceMemory<float> &a, int lda, in DoBlasGbmv() argument
877 GpuMemory(a), lda, GpuMemory(x), incx, &beta, in DoBlasGbmv()
883 const DeviceMemory<double> &a, int lda, in DoBlasGbmv() argument
888 GpuMemory(a), lda, GpuMemory(x), incx, &beta, in DoBlasGbmv()
895 const DeviceMemory<std::complex<float>> &a, int lda, in DoBlasGbmv() argument
901 GpuComplex(&alpha), GpuComplex(GpuMemory(a)), lda, in DoBlasGbmv()
909 const DeviceMemory<std::complex<double>> &a, int lda, in DoBlasGbmv() argument
915 GpuComplex(&alpha), GpuComplex(GpuMemory(a)), lda, in DoBlasGbmv()
922 int lda, const DeviceMemory<float> &x, int incx, in DoBlasGemv() argument
926 lda, GpuMemory(x), incx, &beta, GpuMemoryMutable(y), in DoBlasGemv()
[all …]
Dcublas_9_0.inc106 const void *A, int lda, void *B,
111 return func_ptr(rows, cols, elemSize, A, lda, B, ldb);
115 const void *A, int lda, void *B,
120 return func_ptr(rows, cols, elemSize, A, lda, B, ldb);
144 const void *A, int lda, void *B,
149 return func_ptr(rows, cols, elemSize, A, lda, B, ldb, stream);
153 const void *A, int lda, void *B,
158 return func_ptr(rows, cols, elemSize, A, lda, B, ldb, stream);
899 int lda,
908 return func_ptr(handle, trans, m, n, alpha, A, lda, x, incx, beta, y, incy);
[all …]
Dcublas_10_0.inc127 const void *A, int lda, void *B,
132 return func_ptr(rows, cols, elemSize, A, lda, B, ldb);
136 const void *A, int lda, void *B,
141 return func_ptr(rows, cols, elemSize, A, lda, B, ldb);
165 const void *A, int lda, void *B,
170 return func_ptr(rows, cols, elemSize, A, lda, B, ldb, stream);
174 const void *A, int lda, void *B,
179 return func_ptr(rows, cols, elemSize, A, lda, B, ldb, stream);
920 int lda,
929 return func_ptr(handle, trans, m, n, alpha, A, lda, x, incx, beta, y, incy);
[all …]
/external/eigen/Eigen/src/misc/
Dlapacke.h490 lapack_int lda, lapack_int* ilo, lapack_int* ihi,
493 lapack_int lda, lapack_int* ilo, lapack_int* ihi,
496 lapack_complex_float* a, lapack_int lda,
499 lapack_complex_double* a, lapack_int lda,
503 float* a, lapack_int lda, float* d, float* e,
506 double* a, lapack_int lda, double* d, double* e,
509 lapack_complex_float* a, lapack_int lda, float* d,
513 lapack_complex_double* a, lapack_int lda, double* d,
518 const float* a, lapack_int lda, float anorm,
521 const double* a, lapack_int lda, double anorm,
[all …]
/external/tensorflow/tensorflow/stream_executor/rocm/
Drocm_blas.cc831 const DeviceMemory<float> &a, int lda, in DoBlasGbmv() argument
841 const DeviceMemory<double> &a, int lda, in DoBlasGbmv() argument
852 const DeviceMemory<std::complex<float>> &a, int lda, in DoBlasGbmv() argument
864 const DeviceMemory<std::complex<double>> &a, int lda, in DoBlasGbmv() argument
875 int lda, const DeviceMemory<float> &x, int incx, in DoBlasGemv() argument
879 ROCMBlasTranspose(trans), m, n, &alpha, GpuMemory(a), lda, GpuMemory(x), in DoBlasGemv()
885 int lda, const DeviceMemory<double> &x, int incx, in DoBlasGemv() argument
889 ROCMBlasTranspose(trans), m, n, &alpha, GpuMemory(a), lda, GpuMemory(x), in DoBlasGemv()
895 const DeviceMemory<std::complex<float>> &a, int lda, in DoBlasGemv() argument
906 const DeviceMemory<std::complex<double>> &a, int lda, in DoBlasGemv() argument
[all …]
/external/tensorflow/tensorflow/stream_executor/
Dblas.h425 const DeviceMemory<float> &a, int lda,
430 const DeviceMemory<double> &a, int lda,
436 const DeviceMemory<std::complex<float>> &a, int lda,
443 const DeviceMemory<std::complex<double>> &a, int lda,
461 int lda, const DeviceMemory<float> &x, int incx,
465 int lda, const DeviceMemory<double> &x, int incx,
469 const DeviceMemory<std::complex<float>> &a, int lda,
475 const DeviceMemory<std::complex<double>> &a, int lda,
482 const DeviceMemory<float> &a, int lda, const DeviceMemory<float> &x,
487 const DeviceMemory<double> &a, int lda, const DeviceMemory<double> &x,
[all …]
Dstream.cc2502 const DeviceMemory<float> &a, int lda, in ThenBlasGbmv() argument
2506 PARAM(alpha), PARAM(a), PARAM(lda), PARAM(x), PARAM(incx), in ThenBlasGbmv()
2513 a, lda, x, incx, beta, y, incy); in ThenBlasGbmv()
2518 const DeviceMemory<double> &a, int lda, in ThenBlasGbmv() argument
2522 PARAM(alpha), PARAM(a), PARAM(lda), PARAM(x), PARAM(incx), in ThenBlasGbmv()
2529 a, lda, x, incx, beta, y, incy); in ThenBlasGbmv()
2535 int lda, in ThenBlasGbmv() argument
2540 PARAM(alpha), PARAM(a), PARAM(lda), PARAM(x), PARAM(incx), in ThenBlasGbmv()
2549 a, lda, x, incx, beta, y, incy); in ThenBlasGbmv()
2555 int lda, in ThenBlasGbmv() argument
[all …]
Dstream.h897 int lda, const DeviceMemory<float> &x, int incx,
901 int lda, const DeviceMemory<double> &x, int incx,
905 const DeviceMemory<std::complex<float>> &a, int lda,
911 const DeviceMemory<std::complex<double>> &a, int lda,
918 const DeviceMemory<float> &a, int lda,
922 const DeviceMemory<double> &a, int lda,
927 const DeviceMemory<std::complex<float>> &a, int lda,
933 const DeviceMemory<std::complex<double>> &a, int lda,
940 int lda, const DeviceMemory<float> &x,
946 int lda, const DeviceMemory<double> &x,
[all …]
/external/eigen/blas/
Dlevel3_impl.h13 …const RealScalar *pa, const int *lda, const RealScalar *pb, const int *ldb, const RealScalar *pbet… in EIGEN_BLAS_FUNC()
53 else if(*lda<std::max(1,(OP(*opa)==NOTR)?*m:*k)) info = 8; in EIGEN_BLAS_FUNC()
74 func[code](*m, *n, *k, a, *lda, b, *ldb, c, *ldc, alpha, blocking, 0); in EIGEN_BLAS_FUNC()
79 … const RealScalar *palpha, const RealScalar *pa, const int *lda, RealScalar *pb, const int *ldb) in EIGEN_BLAS_FUNC()
153 else if(*lda<std::max(1,(SIDE(*side)==LEFT)?*m:*n)) info = 9; in EIGEN_BLAS_FUNC()
166 func[code](*m, *n, a, *lda, b, *ldb, blocking); in EIGEN_BLAS_FUNC()
171 func[code](*n, *m, a, *lda, b, *ldb, blocking); in EIGEN_BLAS_FUNC()
184 … const RealScalar *palpha, const RealScalar *pa, const int *lda, RealScalar *pb, const int *ldb) in EIGEN_BLAS_FUNC()
258 else if(*lda<std::max(1,(SIDE(*side)==LEFT)?*m:*n)) info = 9; in EIGEN_BLAS_FUNC()
275 func[code](*m, *n, *m, a, *lda, tmp.data(), tmp.outerStride(), b, *ldb, alpha, blocking); in EIGEN_BLAS_FUNC()
[all …]
Dlevel2_cplx_impl.h19 …mv)(const char *uplo, const int *n, const RealScalar *palpha, const RealScalar *pa, const int *lda, in EIGEN_BLAS_FUNC()
40 else if(*lda<std::max(1,*n)) info = 5; in EIGEN_BLAS_FUNC()
64 func[code](*n, a, *lda, actual_x, actual_y, alpha); in EIGEN_BLAS_FUNC()
197 …C(her)(char *uplo, int *n, RealScalar *palpha, RealScalar *px, int *incx, RealScalar *pa, int *lda) in EIGEN_BLAS_FUNC()
215 else if(*lda<std::max(1,*n)) info = 7; in EIGEN_BLAS_FUNC()
228 func[code](*n, a, *lda, x_cpy, x_cpy, alpha); in EIGEN_BLAS_FUNC()
230 matrix(a,*n,*n,*lda).diagonal().imag().setZero(); in EIGEN_BLAS_FUNC()
244 …RealScalar *palpha, RealScalar *px, int *incx, RealScalar *py, int *incy, RealScalar *pa, int *lda) in EIGEN_BLAS_FUNC()
264 else if(*lda<std::max(1,*n)) info = 9; in EIGEN_BLAS_FUNC()
278 func[code](*n, a, *lda, x_cpy, y_cpy, alpha); in EIGEN_BLAS_FUNC()
[all …]
/external/cblas/examples/
Dcblas_example2.c12 int rout=-1,info=0,m,n,k,lda,ldb,ldc; in main() local
47 m=INVALID; n=0; k=0; lda=1; ldb=1; ldc=1; in main()
49 &ALPHA, A, &lda, B, &ldb, &BETA, C, &ldc ); in main()
52 m=0; n=INVALID; k=0; lda=1; ldb=1; ldc=1; in main()
55 &ALPHA, A, &lda, B, &ldb, &BETA, C, &ldc ); in main()
59 m=2; n=0; k=0; lda=1; ldb=1; ldc=2; in main()
61 &ALPHA, A, &lda, B, &ldb, &BETA, C, &ldc ); in main()
65 m=0; n=0; k=2; lda=1; ldb=1; ldc=1; in main()
67 &ALPHA, A, &lda, B, &ldb, &BETA, C, &ldc ); in main()
/external/eigen/lapack/
Dsvd.cpp14 EIGEN_LAPACK_FUNC(gesdd,(char *jobz, int *m, int* n, Scalar* a, int *lda, RealScalar *s, Scalar *u,…
25 else if(*lda<std::max(1,*m)) *info = -5;
26 else if(*lda<std::max(1,*m)) *info = -8;
49 mat = matrix(a,*m,*n,*lda);
72 matrix(a,*m,*n,*lda) = svd.matrixU();
78 matrix(a,diag_size,*n,*lda) = svd.matrixV().adjoint();
85 EIGEN_LAPACK_FUNC(gesvd,(char *jobu, char *jobv, int *m, int* n, Scalar* a, int *lda, RealScalar *s…
98 else if(*lda<std::max(1,*m)) *info = -6;
119 mat = matrix(a,*m,*n,*lda);
130 else if(*jobu=='O') matrix(a,*m,diag_size,*lda) = svd.matrixU();
[all …]
Deigenvalues.cpp14 EIGEN_LAPACK_FUNC(syev,(char *jobz, char *uplo, int* n, Scalar* a, int *lda, Scalar* w, Scalar* /*w…
23 else if(*lda<std::max(1,*n)) *info = -5;
42 if(UPLO(*uplo)==UP) mat = matrix(a,*n,*n,*lda).adjoint();
43 else mat = matrix(a,*n,*n,*lda);
52 matrix(a,*n,*n,*lda).setIdentity();
59 matrix(a,*n,*n,*lda) = eig.eigenvectors();
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dcusolver_context.h51 int lda, se::DeviceMemory<int> dev_lapack_info,
54 int lda, se::DeviceMemory<int> dev_lapack_info,
57 se::DeviceMemory<std::complex<float>> dev_A, int lda,
61 se::DeviceMemory<std::complex<double>> dev_A, int lda,
68 se::DeviceMemory<float> dev_A, int lda);
70 se::DeviceMemory<double> dev_A, int lda);
73 int lda);
76 int lda);
/external/eigen/bench/btl/libs/BLAS/
Dblas_interface.hh32 …void ssytrd_(char *uplo, const int *n, float *a, const int *lda, float *d, float *e, float *tau, f…
33 …void dsytrd_(char *uplo, const int *n, double *a, const int *lda, double *d, double *e, double *ta…
34 …void sgehrd_( const int *n, int *ilo, int *ihi, float *a, const int *lda, float *tau, float *work,…
35 …void dgehrd_( const int *n, int *ilo, int *ihi, double *a, const int *lda, double *tau, double *wo…
41 void sgetc2_(const int* n, float *a, const int *lda, int *ipiv, int *jpiv, int*info );
42 void dgetc2_(const int* n, double *a, const int *lda, int *ipiv, int *jpiv, int*info );

123456789