Optimized GPU implementation of batched matrix multiply operation
[
performs matrix-matrix multiplication of a batch of matrices D
1,D
2] = gpucoder.batchedMatrixMultiply(A
1,B
1,A
2,B
2)A1,B1
and
A2,B2
. gpucoder.batchedMatrixMultiply
performs
matrix-matrix multiplication of the form:
where is a scalar multiplication factor, A
,
B
, and D
are matrices with dimensions
m
-by-k
,
k
-by-n
, and
m
-by-n
respectively. A
and
B
can optionally be transposed or hermitian-conjugated. By default, is set to one and the matrices are not transposed. Use the
Name,Value
pair arguments to specify a different scalar multiplication
factor and to specify transpose operations on the input matrices.
All the batches passed to the gpucoder.batchedMatrixMultiply
function must be uniform. That is, all instances must have the same dimensions
m,n,k
.
___ = gpucoder.batchedMatrixMultiply(___,
performs batched matrix multiply operation using the options specified by one or more
Name,Value
)Name,Value
pair arguments.
coder.gpu.constantMemory
| coder.gpu.kernel
| coder.gpu.kernelfun
| gpucoder.batchedMatrixMultiplyAdd
| gpucoder.sort
| gpucoder.stencilKernel
| gpucoder.stridedMatrixMultiply
| gpucoder.stridedMatrixMultiplyAdd