@@ -176,34 +176,38 @@ typename sb_handle_t::event_t _symv(
176
176
);
177
177
178
178
/* !
179
- @brief Generalised vector product followed by a sum with a rectangular
180
- non-symmetric matrix.
181
-
182
- Generalised vector product followed by a sum with a rectangular non-symmetric
183
- matrix, i.e. computing the mathematical operation:
184
-
185
- A = alpha*x*yT + A
186
-
187
- See the netlib blas interface documentation for more details of the high level
188
- interface: http://www.netlib.org/lapack/explore-html/db/d5c/sger_8f.html
189
-
179
+ * @brief Generalised vector product followed by a sum with a rectangular
180
+ * non-symmetric matrix.
181
+ *
182
+ * Generalised vector product followed by a sum with a rectangular non-symmetric
183
+ * matrix, i.e. computing the mathematical operation:
184
+ *
185
+ * A = alpha*x*yT + A
186
+ *
187
+ * See the netlib blas interface documentation for more details of the high
188
+ * level interface:
189
+ * http://www.netlib.org/lapack/explore-html/db/d5c/sger_8f.html
190
+ *
191
+ * @param sb_handle SB_handle
192
+ * @param _M Number of rows in matrix A
193
+ * @param _N Number of columns in matrix A
194
+ * @param _alpha Scalar alpha
195
+ * @param _vx Input vector having (1 + (_M-1)*abs(_incx)) elements
196
+ * @param _incx Increment for vector X
197
+ * @param _vy, Input vector having having (1 + (_N-1)*abs(_incy)) elements
198
+ * @param _incy Increment for vector Y
199
+ * @param _mA Input/output matrix A(_lda, n)
200
+ * @param _lda Leading dimension of A
201
+ * @param _dependencies Vector of events
190
202
*/
191
203
template <typename sb_handle_t , typename index_t , typename element_t ,
192
204
typename container_0_t , typename increment_t , typename container_1_t ,
193
205
typename container_2_t >
194
206
typename sb_handle_t ::event_t _ger (
195
- sb_handle_t & sb_handle, // sb_handle_t (sycl, parallel, serial, etc)
196
- index_t _M, // The rows in matrix A
197
- index_t _N, // The cols of matrix A
198
- element_t _alpha, // Scalar alpha
199
- container_0_t _vx, // >(1 + (_M-1)*abs(_incx)), input vector X
200
- increment_t _incx, // Increment for vector X
201
- container_1_t _vy, // >(1 + (_N-1)*abs(_incy)), input vector Y
202
- increment_t _incy, // Increment for vector Y
203
- container_2_t _mA, // (_lda, n) array containing A, the output
204
- index_t _lda, // >max(1, m), Leading dimension of A
205
- const typename sb_handle_t ::event_t & _dependencies // Vector of events
206
- );
207
+ sb_handle_t & sb_handle, index_t _M, index_t _N, element_t _alpha,
208
+ container_0_t _vx, increment_t _incx, container_1_t _vy, increment_t _incy,
209
+ container_2_t _mA, index_t _lda,
210
+ const typename sb_handle_t ::event_t & _dependencies);
207
211
208
212
/* !
209
213
@brief Generalised vector squaring followed by a sum with a symmetric matrix.
@@ -746,35 +750,39 @@ typename sb_handle_t::event_t inline _symv(
746
750
}
747
751
748
752
/* !
749
- @brief Generalised vector product followed by a sum with a rectangular
750
- non-symmetric matrix.
751
-
752
- Generalised vector product followed by a sum with a rectangular non-symmetric
753
- matrix, i.e.
754
- computing the mathematical operation:
755
-
756
- A = alpha*x*yT + A
757
-
758
- See the netlib blas interface documentation for more details of the high level
759
- interface: http://www.netlib.org/lapack/explore-html/db/d5c/sger_8f.html
760
-
753
+ * @brief Generalised vector product followed by a sum with a rectangular
754
+ * non-symmetric matrix.
755
+ *
756
+ * Generalised vector product followed by a sum with a rectangular non-symmetric
757
+ * matrix, i.e.
758
+ * computing the mathematical operation:
759
+ *
760
+ * A = alpha*x*yT + A
761
+ *
762
+ * See the netlib blas interface documentation for more details of the high
763
+ * level interface:
764
+ * http://www.netlib.org/lapack/explore-html/db/d5c/sger_8f.html
765
+ *
766
+ * @param sb_handle SB_handle
767
+ * @param _M Number of rows in matrix A
768
+ * @param _N Number of columns in matrix A
769
+ * @param _alpha Scalar alpha
770
+ * @param _vx Input vector having (1 + (_M-1)*abs(_incx)) elements
771
+ * @param _incx Increment for vector X
772
+ * @param _vy, Input vector having having (1 + (_N-1)*abs(_incy)) elements
773
+ * @param _incy Increment for vector Y
774
+ * @param _mA Input/output matrix A(_lda, n)
775
+ * @param _lda Leading dimension of A
776
+ * @param _dependencies Vector of events
761
777
*/
762
778
template <typename sb_handle_t , typename index_t , typename element_t ,
763
779
typename container_0_t , typename increment_t , typename container_1_t ,
764
780
typename container_2_t >
765
781
typename sb_handle_t ::event_t inline _ger (
766
- sb_handle_t & sb_handle, // sb_handle_t (sycl, parallel, serial, etc)
767
- index_t _M, // The rows in matrix M
768
- index_t _N, // The rows of matrix N
769
- element_t _alpha, // Scalar alpha
770
- container_0_t _vx, // >(1 + (_M-1)*abs(_incx)), input vector X
771
- increment_t _incx, // Increment for vector X
772
- container_1_t _vy, // >(1 + (_N-1)*abs(_incy)), input vector Y
773
- increment_t _incy, // Increment for vector Y
774
- container_2_t _mA, // (_lda, n) array containing A, the output
775
- index_t _lda, // >max(1, m), Leading dimension of A
776
- const typename sb_handle_t ::event_t & _dependencies = {} // Vector of events
777
- ) {
782
+ sb_handle_t & sb_handle, index_t _M, index_t _N, element_t _alpha,
783
+ container_0_t _vx, increment_t _incx, container_1_t _vy, increment_t _incy,
784
+ container_2_t _mA, index_t _lda,
785
+ const typename sb_handle_t ::event_t & _dependencies = {}) {
778
786
return internal::_ger (sb_handle, _M, _N, _alpha, _vx, _incx, _vy, _incy, _mA,
779
787
_lda, _dependencies);
780
788
}
0 commit comments