Improving dot product for standard multidimensional D arrays

p.shkadzko p.shkadzko at gmail.com
Tue Mar 3 12:33:35 UTC 2020


On Tuesday, 3 March 2020 at 10:25:27 UTC, maarten van damme wrote:
> it is difficult to write an efficient matrix matrix 
> multiplication in any language. If you want a fair comparison, 
> implement your naive method in python and compare those timings.
>
> Op di 3 mrt. 2020 om 04:20 schreef 9il via Digitalmars-d-learn 
> < digitalmars-d-learn at puremagic.com>:
>
>> On Sunday, 1 March 2020 at 20:58:42 UTC, p.shkadzko wrote:
>> > [...]
>>
>> 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 .

Yeah, got it. After some reading, I understand that's not trivial 
once bigger matrices are involved.


More information about the Digitalmars-d-learn mailing list