The OpenD Programming Language

glas_sgemm

Performs general matrix-matrix multiplication.

More...
extern (C) nothrow @nogc @system
void
glas_sgemm
(
float alpha
,
Slice!(SliceKind.universal, [2], const(float)*) asl
,
Slice!(SliceKind.universal, [2], const(float)*) bsl
,
float beta
,
Slice!(SliceKind.universal, [2], float*) csl
,
ulong settings = 0
)

Parameters

alpha float

scalar

asl Slice!(SliceKind.universal, [2], const(float)*)

m ⨉ k matrix

bsl Slice!(SliceKind.universal, [2], const(float)*)

k ⨉ n matrix

beta float

scalar. When beta is supplied as zero then the matrix csl need not be set on input.

csl Slice!(SliceKind.universal, [2], float*)

m ⨉ n matrix with one stride equal to ±1.

settings ulong

Operation settings. Allowed flags are ConjA and ConjB.

Unified alias

gemm

BLAS: SGEMM, DGEMM, CGEMM, ZGEMM

Detailed Description

Pseudo code

C := alpha A × B + beta C.

Meta