Changes

Jump to: navigation, search

GPU610/DPS915 Student Resources

228 bytes added, 14:53, 20 September 2012
segmvhttp://publib.boulder.ibm.com/infocenter/comphelp/v8v101/index.jsp?topic=%2Fcom.ibm.xlcpp8a.doc%2Fproguide%2Fref%2Fblaslib.htm
void cblas_sgemv (const enum CBLAS_ORDER order, const enum CBLAS_TRANSPOSE TransA, const int M, const int N, const float alpha, const float * A, const int lda, const float * x, const int incx, const float beta, float * y, const int incy)<ref>http://www.gnu.org/software/gsl/manual/html_node/Level-2-CBLAS-Functions.html</ref>
'''''morder''''':Whether matrices are row major order (C-Style) for column major order (Fortran-style). One of enum CblasRowMajor or CblasColMajor.
'''''TransA'''''
:Whether to transpose matrix A. One of enum CblasNoTrans, CBlasTrans.
 
'''''M'''''
:represents:
::the number of rows in input matrix a
:The number of rows must be greater than or equal to zero, and less than the leading dimension of the matrix a (specified in lda)
'''''nN''''' 
:represents:
::the number of columns in input matrix a
'''''alpha'''''
 
:is the scaling constant for matrix a
'''''aA''''' 
:is the input matrix of float (for sgemv) or double (for dgemv) values
'''''lda'''''
 
:is the leading dimension of the array specified by a. The leading dimension must be greater than zero. The leading dimension must be greater than or equal to 1 and greater than or equal to the value specified in m.
'''''x'''''
 
:is the input vector of float (for sgemv) or double (for dgemv) values.
'''''incx'''''
 
:is the stride for vector x. It can have any value.
'''''beta'''''
 
:is the scaling constant for vector y
'''''y'''''
 
:is the output vector of float (for sgemv) or double (for dgemv) values.
'''''incy'''''
 
:is the stride for vector y. It must not be zero.
1
edit

Navigation menu