Why is there huge performance hit in 2048x2048 versus 2047x2047 array multiplication?

前端 未结 10 1518
不思量自难忘°
不思量自难忘° 2020-11-29 17:06

I am making some matrix multiplication benchmarking, as previously mentioned in Why is MATLAB so fast in matrix multiplication?

Now I\'ve got another issue, when mu

10条回答
  •  感情败类
    2020-11-29 18:00

    Louis Brandy wrote two blog posts analyzing exactly this issue:

    More Cache Craziness and Computational Performance - A beginners case study with some interesting statistics and attempts to explain the behavior in more detail, it does indeed come down to cache size limitations.

提交回复
热议问题