sincu1 commented on PR #2640:
URL: https://github.com/apache/systemds/pull/2640#issuecomment-7191646830

   Adding SPARSE_DENSE shows that sparse to dense is the fastest mode across 
low to moderate densities (sparsity < 0.3-0.4), as it only iterates over non 
zeros without sparse output allocation overhead. At the densest points 
(0.4-0.5), DENSE_DENSE remains competitive or faster, while DENSE_SPARSE is 
slowest overall and only outperforms DENSE_DENSE on the sparsest 3000x3000 
inputs.
   Running multi-threaded (k=-1) speeds up all modes on 3000x3000, whereas 
1000x1000 sees almost no gain and DENSE_SPARSE slows down due to threading 
overhead. DENSE_SPARSE remains noticeably slower than both dense-output modes 
at moderate to high densities.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to