MtxVec VCL
|
Initialize matrix multiplication
Parameters |
Description |
aRows |
Matrix A row count. |
aCols |
Matrix A column count. |
bRows |
Matrix B row count. |
bCols |
Matrix B column count. |
aFloatPrecision |
The storage precision of all three matrices, A, B and C. |
opA |
Request matrix A transpose. Request matrix B transpose. |
Alpha |
Scaling factor. |
Beta |
Scaling factor. |
Initializes computation of:
C = alpha*opA(A)*opB(B) + beta*C
Returns true if JIT will be used and false otherwise. If the JIT will not be used standard dgemm routine will be called instead. The procedure of JIT compilation is about 1000x slower, than the actual multiply operation. The kernel(s) therefore must be prepared upfront.
The Init routine is protected against initializing with same parameters again and will simply exit and reuse the existing kernel.
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
|
What do you think about this topic? Send feedback!
|