Changes

Jump to: navigation, search

GPU610/DPS915 Student Resources

2,063 bytes added, 16:08, 20 September 2012
segmm
===segmm===
void '''cblas_sgemm''' (''const enum CBLAS_ORDER Order, const enum CBLAS_TRANSPOSE TransA, const enum CBLAS_TRANSPOSE TransB, const int M, const int N, const int K, const float alpha, const float * A, const int lda, const float * B, const int ldb, const float beta, float * C, const int ldc'') <ref> http://www.gnu.org/software/gsl/manual/html_node/Level-3-CBLAS-Functions.html</ref>
'''''l'''''
 
:represents the number of rows in output matrix c. The number of rows must be greater than or equal to zero, and less than the leading dimension of c.
 
 
 
'''''n'''''
 
:represents the number of columns in output matrix c. The number of columns must be greater than or equal to zero.
 
 
 
'''''m'''''
 
:represents:
 
::the number of columns in matrix a, if 'N' or 'n' is used for the transa parameter
 
::the number of rows in matrix a, if 'T' or 't' is used for the transa parameter
 
::and:
 
::the number of rows in matrix b, if 'N' or 'n' is used for the transb parameter
 
::the number of columns in matrix b, if 'T' or 't' is used for the transb parameter
 
:m must be greater than or equal to zero.
 
 
 
'''''alpha'''''
 
:is the scaling constant for matrix a
 
 
 
'''''a'''''
 
:is the input matrix a of float (for sgemm) or double (for dgemm) values
 
 
 
'''''lda'''''
 
:is the leading dimension of the array specified by a. The leading dimension must be greater than zero. If transa is specified as 'N' or 'n', the leading dimension must be greater than or equal to 1. If transa is specified as 'T' or 't', the leading dimension must be greater than or equal to the value specified in m.
 
 
 
'''''b'''''
 
:is the input matrix b of float (for sgemm) or double (for dgemm) values.
 
 
 
'''''ldb'''''
 
:is the leading dimension of the array specified by b. The leading dimension must be greater than zero. If transb is specified as 'N' or 'n', the leading dimension must be greater than or equal to the value specified in m. If transa is specified as 'T' or 't', the leading dimension must be greater than or equal to the value specified in n.
 
 
 
'''''beta'''''
 
:is the scaling constant for matrix c
 
 
 
'''''c'''''
 
:is the output matrix c of float (for sgemm) or double (for dgemm) values.
 
 
 
'''''ldc'''''
 
:is the leading dimension of the array specified by c. The leading dimension must be greater than zero. If transb is specified as 'N' or 'n', the leading dimension must be greater than or equal to 0 and greater than or equal to the value specified in l.
https://scs.senecac.on.ca/~gpu610/pages/content/lines.html
1
edit

Navigation menu