Home
last modified time | relevance | path

Searched refs:incy (Results 1 – 25 of 44) sorted by relevance

12

/external/eigen/blas/
Dlevel1_cplx_impl.h40 int EIGEN_BLAS_FUNC(dotcw)(int *n, RealScalar *px, int *incx, RealScalar *py, int *incy, RealScalar…
54 if(*incx==1 && *incy==1) *res = (make_vector(x,*n).dot(make_vector(y,*n)));
55 else if(*incx>0 && *incy>0) *res = (make_vector(x,*n,*incx).dot(make_vector(y,*n,*incy)));
56 …else if(*incx<0 && *incy>0) *res = (make_vector(x,*n,-*incx).reverse().dot(make_vector(y,*n,*incy)…
57 …else if(*incx>0 && *incy<0) *res = (make_vector(x,*n,*incx).dot(make_vector(y,*n,-*incy).reverse()…
58 …else if(*incx<0 && *incy<0) *res = (make_vector(x,*n,-*incx).reverse().dot(make_vector(y,*n,-*incy
63 int EIGEN_BLAS_FUNC(dotuw)(int *n, RealScalar *px, int *incx, RealScalar *py, int *incy, RealScalar…
76 if(*incx==1 && *incy==1) *res = (make_vector(x,*n).cwiseProduct(make_vector(y,*n))).sum();
77 …else if(*incx>0 && *incy>0) *res = (make_vector(x,*n,*incx).cwiseProduct(make_vector(y,*n,*incy)))…
78 …else if(*incx<0 && *incy>0) *res = (make_vector(x,*n,-*incx).reverse().cwiseProduct(make_vector(y,…
[all …]
Dlevel1_impl.h12 …, const RealScalar *palpha, const RealScalar *px, const int *incx, RealScalar *py, const int *incy) in EIGEN_BLAS_FUNC()
20 if(*incx==1 && *incy==1) make_vector(y,*n) += alpha * make_vector(x,*n); in EIGEN_BLAS_FUNC()
21 else if(*incx>0 && *incy>0) make_vector(y,*n,*incy) += alpha * make_vector(x,*n,*incx); in EIGEN_BLAS_FUNC()
22 else if(*incx>0 && *incy<0) make_vector(y,*n,-*incy).reverse() += alpha * make_vector(x,*n,*incx); in EIGEN_BLAS_FUNC()
23 else if(*incx<0 && *incy>0) make_vector(y,*n,*incy) += alpha * make_vector(x,*n,-*incx).reverse(); in EIGEN_BLAS_FUNC()
24 …else if(*incx<0 && *incy<0) make_vector(y,*n,-*incy).reverse() += alpha * make_vector(x,*n,-*incx)… in EIGEN_BLAS_FUNC()
29 int EIGEN_BLAS_FUNC(copy)(int *n, RealScalar *px, int *incx, RealScalar *py, int *incy) in EIGEN_BLAS_FUNC()
37 if(*incx==1 && *incy==1) in EIGEN_BLAS_FUNC()
42 if(*incy<0) y = y - (*n-1)*(*incy); in EIGEN_BLAS_FUNC()
47 y += *incy; in EIGEN_BLAS_FUNC()
[all …]
Dlevel1_real_impl.h27 Scalar EIGEN_BLAS_FUNC(dot)(int *n, RealScalar *px, int *incx, RealScalar *py, int *incy) in EIGEN_BLAS_FUNC()
36 if(*incx==1 && *incy==1) return (make_vector(x,*n).cwiseProduct(make_vector(y,*n))).sum(); in EIGEN_BLAS_FUNC()
37 …else if(*incx>0 && *incy>0) return (make_vector(x,*n,*incx).cwiseProduct(make_vector(y,*n,*incy)))… in EIGEN_BLAS_FUNC()
38 …else if(*incx<0 && *incy>0) return (make_vector(x,*n,-*incx).reverse().cwiseProduct(make_vector(y,… in EIGEN_BLAS_FUNC()
39 …else if(*incx>0 && *incy<0) return (make_vector(x,*n,*incx).cwiseProduct(make_vector(y,*n,-*incy).… in EIGEN_BLAS_FUNC()
40 …else if(*incx<0 && *incy<0) return (make_vector(x,*n,-*incx).reverse().cwiseProduct(make_vector(y,… in EIGEN_BLAS_FUNC()
57 int EIGEN_BLAS_FUNC(rot)(int *n, RealScalar *px, int *incx, RealScalar *py, int *incy, RealScalar *… in EIGEN_BLAS_FUNC()
68 StridedVectorType vy(make_vector(y,*n,std::abs(*incy))); in EIGEN_BLAS_FUNC()
73 …if(*incx<0 && *incy>0) internal::apply_rotation_in_the_plane(rvx, vy, JacobiRotation<Scalar>(c,s)); in EIGEN_BLAS_FUNC()
74 …else if(*incx>0 && *incy<0) internal::apply_rotation_in_the_plane(vx, rvy, JacobiRotation<Scalar>(… in EIGEN_BLAS_FUNC()
Ddouble.cpp22 double BLASFUNC(dsdot)(int* n, float* x, int* incx, float* y, int* incy) in BLASFUNC()
26 …if(*incx==1 && *incy==1) return (make_vector(x,*n).cast<double>().cwiseProduct(make_vector(y,*n… in BLASFUNC()
27 …else if(*incx>0 && *incy>0) return (make_vector(x,*n,*incx).cast<double>().cwiseProduct(make_vecto… in BLASFUNC()
28 …else if(*incx<0 && *incy>0) return (make_vector(x,*n,-*incx).reverse().cast<double>().cwiseProduct… in BLASFUNC()
29 …else if(*incx>0 && *incy<0) return (make_vector(x,*n,*incx).cast<double>().cwiseProduct(make_vecto… in BLASFUNC()
30 …else if(*incx<0 && *incy<0) return (make_vector(x,*n,-*incx).reverse().cast<double>().cwiseProduct… in BLASFUNC()
Dlevel2_cplx_impl.h20 … const RealScalar *px, const int *incx, const RealScalar *pbeta, RealScalar *py, const int *incy) in EIGEN_BLAS_FUNC()
42 else if(*incy==0) info = 10; in EIGEN_BLAS_FUNC()
50 Scalar* actual_y = get_compact_vector(y,*n,*incy); in EIGEN_BLAS_FUNC()
68 if(actual_y!=y) delete[] copy_back(actual_y,y,*n,*incy); in EIGEN_BLAS_FUNC()
149 … int *n, RealScalar *palpha, RealScalar *px, int *incx, RealScalar *py, int *incy, RealScalar *pap) in EIGEN_BLAS_FUNC()
168 else if(*incy==0) info = 7; in EIGEN_BLAS_FUNC()
176 Scalar* y_cpy = get_compact_vector(y, *n, *incy); in EIGEN_BLAS_FUNC()
244 …t *n, RealScalar *palpha, RealScalar *px, int *incx, RealScalar *py, int *incy, RealScalar *pa, in… in EIGEN_BLAS_FUNC()
263 else if(*incy==0) info = 7; in EIGEN_BLAS_FUNC()
272 Scalar* y_cpy = get_compact_vector(y, *n, *incy); in EIGEN_BLAS_FUNC()
[all …]
Dlevel2_real_impl.h14 … const RealScalar *px, const int *incx, const RealScalar *pbeta, RealScalar *py, const int *incy) in EIGEN_BLAS_FUNC()
36 else if(*incy==0) info = 10; in EIGEN_BLAS_FUNC()
44 Scalar* actual_y = get_compact_vector(y,*n,*incy); in EIGEN_BLAS_FUNC()
59 if(actual_y!=y) delete[] copy_back(actual_y,y,*n,*incy); in EIGEN_BLAS_FUNC()
105 …, const RealScalar *px, const int *incx, const RealScalar *py, const int *incy, RealScalar *pc, co… in EIGEN_BLAS_FUNC()
124 else if(*incy==0) info = 7; in EIGEN_BLAS_FUNC()
133 const Scalar* y_cpy = get_compact_vector(y,*n,*incy); in EIGEN_BLAS_FUNC()
230 … int *n, RealScalar *palpha, RealScalar *px, int *incx, RealScalar *py, int *incy, RealScalar *pap) in EIGEN_BLAS_FUNC()
249 else if(*incy==0) info = 7; in EIGEN_BLAS_FUNC()
257 Scalar* y_cpy = get_compact_vector(y, *n, *incy); in EIGEN_BLAS_FUNC()
[all …]
/external/eigen/blas/f2c/
Ddspmv.c17 doublereal *y, integer *incy, ftnlen uplo_len) in dspmv_() argument
147 } else if (*incy == 0) { in dspmv_()
168 if (*incy > 0) { in dspmv_()
171 ky = 1 - (*n - 1) * *incy; in dspmv_()
180 if (*incy == 1) { in dspmv_()
200 iy += *incy; in dspmv_()
207 iy += *incy; in dspmv_()
221 if (*incx == 1 && *incy == 1) { in dspmv_()
252 iy += *incy; in dspmv_()
257 jy += *incy; in dspmv_()
[all …]
Dsspmv.c16 real *x, integer *incx, real *beta, real *y, integer *incy, ftnlen in sspmv_() argument
147 } else if (*incy == 0) { in sspmv_()
168 if (*incy > 0) { in sspmv_()
171 ky = 1 - (*n - 1) * *incy; in sspmv_()
180 if (*incy == 1) { in sspmv_()
200 iy += *incy; in sspmv_()
207 iy += *incy; in sspmv_()
221 if (*incx == 1 && *incy == 1) { in sspmv_()
252 iy += *incy; in sspmv_()
257 jy += *incy; in sspmv_()
[all …]
Dssbmv.c17 integer *incy, ftnlen uplo_len) in ssbmv_() argument
190 } else if (*incy == 0) { in ssbmv_()
211 if (*incy > 0) { in ssbmv_()
214 ky = 1 - (*n - 1) * *incy; in ssbmv_()
223 if (*incy == 1) { in ssbmv_()
243 iy += *incy; in ssbmv_()
250 iy += *incy; in ssbmv_()
264 if (*incx == 1 && *incy == 1) { in ssbmv_()
298 iy += *incy; in ssbmv_()
304 jy += *incy; in ssbmv_()
[all …]
Ddsbmv.c17 doublereal *beta, doublereal *y, integer *incy, ftnlen uplo_len) in dsbmv_() argument
188 } else if (*incy == 0) { in dsbmv_()
209 if (*incy > 0) { in dsbmv_()
212 ky = 1 - (*n - 1) * *incy; in dsbmv_()
221 if (*incy == 1) { in dsbmv_()
241 iy += *incy; in dsbmv_()
248 iy += *incy; in dsbmv_()
262 if (*incx == 1 && *incy == 1) { in dsbmv_()
296 iy += *incy; in dsbmv_()
302 jy += *incy; in dsbmv_()
[all …]
Dcomplexdots.c22 *incx, complex *cy, integer *incy) in cdotc_() argument
33 cdotcw_(n, &cx[1], incx, &cy[1], incy, &res); in cdotc_()
38 *incx, complex *cy, integer *incy) in cdotu_() argument
49 cdotuw_(n, &cx[1], incx, &cy[1], incy, &res); in cdotu_()
54 doublecomplex *cy, integer *incy) in zdotc_() argument
65 zdotcw_(n, &cx[1], incx, &cy[1], incy, &res); in zdotc_()
70 doublecomplex *cy, integer *incy) in zdotu_() argument
81 zdotuw_(n, &cx[1], incx, &cy[1], incy, &res); in zdotu_()
Dsrotm.c16 integer *incy, real *sparam) in srotm_() argument
100 if (! (*incx == *incy && *incx > 0)) { in srotm_()
159 if (*incy < 0) { in srotm_()
160 ky = (1 - *n) * *incy + 1; in srotm_()
180 ky += *incy; in srotm_()
194 ky += *incy; in srotm_()
210 ky += *incy; in srotm_()
Ddrotm.c16 doublereal *dy, integer *incy, doublereal *dparam) in drotm_() argument
99 if (! (*incx == *incy && *incx > 0)) { in drotm_()
158 if (*incy < 0) { in drotm_()
159 ky = (1 - *n) * *incy + 1; in drotm_()
179 ky += *incy; in drotm_()
193 ky += *incy; in drotm_()
209 ky += *incy; in drotm_()
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_blas.cc467 DeviceMemory<float> *y, int incy) { in DoBlasAxpy() argument
470 GpuMemoryMutable(y), incy); in DoBlasAxpy()
475 DeviceMemory<double> *y, int incy) { in DoBlasAxpy() argument
478 GpuMemoryMutable(y), incy); in DoBlasAxpy()
484 DeviceMemory<std::complex<float>> *y, int incy) { in DoBlasAxpy() argument
488 GpuComplex(GpuMemoryMutable(y)), incy); in DoBlasAxpy()
494 DeviceMemory<std::complex<double>> *y, int incy) { in DoBlasAxpy() argument
498 GpuComplex(GpuMemoryMutable(y)), incy); in DoBlasAxpy()
503 DeviceMemory<float> *y, int incy) { in DoBlasCopy() argument
506 incy); in DoBlasCopy()
[all …]
Dcublas_9_0.inc90 int incx, void *devicePtr, int incy) {
94 return func_ptr(n, elemSize, x, incx, devicePtr, incy);
98 int incx, void *y, int incy) {
102 return func_ptr(n, elemSize, x, incx, y, incy);
125 void *devicePtr, int incy,
130 return func_ptr(n, elemSize, hostPtr, incx, devicePtr, incy, stream);
135 void *hostPtr, int incy,
140 return func_ptr(n, elemSize, devicePtr, incx, hostPtr, incy, stream);
233 int incy,
240 return func_ptr(handle, n, x, xType, incx, y, yType, incy, result, resultType, executionType);
[all …]
Dcublas_10_0.inc111 int incx, void *devicePtr, int incy) {
115 return func_ptr(n, elemSize, x, incx, devicePtr, incy);
119 int incx, void *y, int incy) {
123 return func_ptr(n, elemSize, x, incx, y, incy);
146 void *devicePtr, int incy,
151 return func_ptr(n, elemSize, hostPtr, incx, devicePtr, incy, stream);
156 void *hostPtr, int incy,
161 return func_ptr(n, elemSize, devicePtr, incx, hostPtr, incy, stream);
254 int incy,
261 return func_ptr(handle, n, x, xType, incx, y, yType, incy, result, resultType, executionType);
[all …]
/external/tensorflow/tensorflow/stream_executor/
Dblas.h197 DeviceMemory<float> *y, int incy) = 0;
200 DeviceMemory<double> *y, int incy) = 0;
204 DeviceMemory<std::complex<float>> *y, int incy) = 0;
208 DeviceMemory<std::complex<double>> *y, int incy) = 0;
213 DeviceMemory<float> *y, int incy) = 0;
216 DeviceMemory<double> *y, int incy) = 0;
219 DeviceMemory<std::complex<float>> *y, int incy) = 0;
222 DeviceMemory<std::complex<double>> *y, int incy) = 0;
227 const DeviceMemory<float> &y, int incy,
231 const DeviceMemory<double> &y, int incy,
[all …]
Dstream.cc1959 DeviceMemory<float> *y, int incy) { in ThenBlasAxpy() argument
1961 PARAM(incy)); in ThenBlasAxpy()
1966 y, incy); in ThenBlasAxpy()
1971 DeviceMemory<double> *y, int incy) { in ThenBlasAxpy() argument
1973 PARAM(incy)); in ThenBlasAxpy()
1978 y, incy); in ThenBlasAxpy()
1984 int incy) { in ThenBlasAxpy() argument
1986 PARAM(incy)); in ThenBlasAxpy()
1992 y, incy); in ThenBlasAxpy()
1998 int incy) { in ThenBlasAxpy() argument
[all …]
Dstream.h738 DeviceMemory<float> *y, int incy);
741 DeviceMemory<double> *y, int incy);
744 DeviceMemory<std::complex<float>> *y, int incy);
747 DeviceMemory<std::complex<double>> *y, int incy);
751 int incx, DeviceMemory<float> *y, int incy);
753 int incx, DeviceMemory<double> *y, int incy);
756 DeviceMemory<std::complex<float>> *y, int incy);
759 DeviceMemory<std::complex<double>> *y, int incy);
763 const DeviceMemory<float> &y, int incy,
766 int incx, const DeviceMemory<double> &y, int incy,
[all …]
/external/tensorflow/tensorflow/stream_executor/rocm/
Drocm_blas.cc434 DeviceMemory<float> *y, int incy) { in DoBlasAxpy() argument
437 GpuMemory(x), incx, GpuMemoryMutable(y), incy); in DoBlasAxpy()
442 DeviceMemory<double> *y, int incy) { in DoBlasAxpy() argument
445 GpuMemory(x), incx, GpuMemoryMutable(y), incy); in DoBlasAxpy()
451 DeviceMemory<std::complex<float>> *y, int incy) { in DoBlasAxpy() argument
460 DeviceMemory<std::complex<double>> *y, int incy) { in DoBlasAxpy() argument
468 DeviceMemory<float> *y, int incy) { in DoBlasCopy() argument
471 GpuMemory(x), incx, GpuMemoryMutable(y), incy); in DoBlasCopy()
476 DeviceMemory<double> *y, int incy) { in DoBlasCopy() argument
479 GpuMemory(x), incx, GpuMemoryMutable(y), incy); in DoBlasCopy()
[all …]
/external/cblas/testing/
Dc_cblas2.c14 const void *beta, void *y, int *incy) { in F77_cgemv() argument
30 beta, y, *incy ); 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()
44 CBLAS_TEST_COMPLEX *beta, CBLAS_TEST_COMPLEX *y, int *incy) { in F77_cgbmv() argument
77 *incx, beta, y, *incy ); in F77_cgbmv()
82 *incx, beta, y, *incy ); in F77_cgbmv()
85 *incx, beta, y, *incy ); in F77_cgbmv()
89 CBLAS_TEST_COMPLEX *x, int *incx, CBLAS_TEST_COMPLEX *y, int *incy, in F77_cgeru() argument
103 cblas_cgeru( CblasRowMajor, *m, *n, alpha, x, *incx, y, *incy, A, LDA ); in F77_cgeru()
[all …]
Dc_zblas2.c14 const void *beta, void *y, int *incy) { in F77_zgemv() argument
30 beta, y, *incy ); 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()
44 CBLAS_TEST_ZOMPLEX *beta, CBLAS_TEST_ZOMPLEX *y, int *incy) { in F77_zgbmv() argument
77 *incx, beta, y, *incy ); in F77_zgbmv()
82 *incx, beta, y, *incy ); in F77_zgbmv()
85 *incx, beta, y, *incy ); in F77_zgbmv()
89 CBLAS_TEST_ZOMPLEX *x, int *incx, CBLAS_TEST_ZOMPLEX *y, int *incy, in F77_zgeru() argument
103 cblas_zgeru( CblasRowMajor, *m, *n, alpha, x, *incx, y, *incy, A, LDA ); in F77_zgeru()
[all …]
Dc_dblas2.c13 double *y, int *incy ) { in F77_dgemv() argument
27 *m, *n, *alpha, A, LDA, x, *incx, *beta, y, *incy ); 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
53 cblas_dger(CblasRowMajor, *m, *n, *alpha, x, *incx, y, *incy, A, LDA ); in F77_dger()
60 cblas_dger( CblasColMajor, *m, *n, *alpha, x, *incx, y, *incy, a, *lda ); in F77_dger()
117 int *incy) { in F77_dsymv() argument
131 *beta, y, *incy ); in F77_dsymv()
136 *beta, y, *incy ); in F77_dsymv()
[all …]
Dc_sblas2.c13 float *y, int *incy ) { in F77_sgemv() argument
27 *m, *n, *alpha, A, LDA, x, *incx, *beta, y, *incy ); 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
53 cblas_sger(CblasRowMajor, *m, *n, *alpha, x, *incx, y, *incy, A, LDA ); in F77_sger()
60 cblas_sger( CblasColMajor, *m, *n, *alpha, x, *incx, y, *incy, a, *lda ); in F77_sger()
117 int *incy) { in F77_ssymv() argument
131 *beta, y, *incy ); in F77_ssymv()
136 *beta, y, *incy ); in F77_ssymv()
[all …]
/external/eigen/Eigen/src/Core/products/
DTriangularMatrixVector_BLAS.h108 BlasIndex m, n, lda, incx, incy; \
116 incy = convert_index<BlasIndex>(resIncr); \
127 …BLASPREFIX##axpy_(&n, &numext::real_ref(alpha),(const BLASTYPE*)x, &incx, (BLASTYPE*)_res, &incy);…
145 …onst BLASTYPE*)a, &lda, (const BLASTYPE*)x, &incx, &numext::real_ref(beta), (BLASTYPE*)y, &incy); \
190 BlasIndex m, n, lda, incx, incy; \
198 incy = convert_index<BlasIndex>(resIncr); \
209 …BLASPREFIX##axpy_(&n, &numext::real_ref(alpha),(const BLASTYPE*)x, &incx, (BLASTYPE*)_res, &incy);…
227 …onst BLASTYPE*)a, &lda, (const BLASTYPE*)x, &incx, &numext::real_ref(beta), (BLASTYPE*)y, &incy); \

12