(prepare-gemm) ( alpha A B beta C -- A-trans B-trans m n k alpha A-data A-ld B-data B-ld beta C-data C-ld C )


Vocabulary
math.blas.matrices.private

Inputs
alphaan object
Aan object
Ban object
betaan object
Can object


Outputs
A-transan object
B-transan object
man object
nan object
kan object
alphaan object
A-dataan object
A-ldan object
B-dataan object
B-ldan object
betaan object
C-dataan object
C-ldan object
Can object


Definition


:: (prepare-gemm)
( alpha A B beta C -- A-trans B-trans m n k alpha A-data A-ld B-data B-ld beta C-data C-ld C )
A B C (validate-gemm)
A (blas-transpose) B (blas-transpose) C rows>> C cols>> A
Mwidth alpha A A ld>> B B ld>> beta C C ld>> C f >>transpose
; inline