Improving dot product for standard multidimensional D arrays

9il ilyayaroshenko at gmail.com
Tue Mar 3 03:18:28 UTC 2020


On Sunday, 1 March 2020 at 20:58:42 UTC, p.shkadzko wrote:
> Hello again,
>
> Thanks to previous thread on multidimensional arrays, I managed 
> to play around with pure D matrix representations and even 
> benchmark a little against numpy:
>
> [...]

Matrix multiplication is about cache-friendly blocking.
https://www.cs.utexas.edu/users/pingali/CS378/2008sp/papers/gotoPaper.pdf

`mir-blas` package can be used for matrix operations for ndslice. 
  `cblas`  - if you want to work with your own matrix type .


More information about the Digitalmars-d-learn mailing list