ZiyueHuang commented on issue #8611: optimization for dot(csr.T, dense) = rsp
URL: https://github.com/apache/incubator-mxnet/pull/8611#issuecomment-345533714
 
 
   Added benchmark for `n=2` case,
   
   Before,
   
   ```
   python dot.py --num-omp-threads 16
   ========================================================
     mxnet sparse dot benchmark: dot(csr, default) = default
     (matrix multiplication: (m x k)^T * (k x n) = m x n)
   ========================================================
    lhs_density(%)  rhs_density(%)    context        m        k        n  
t_sparse(ms)   t_dense(ms)  speedup
               1.0           100.0     cpu(0)      256  1000000        2        
 41.61         36.01     0.87
   ```
   
   After,
   
   ```
   python dot.py --num-omp-threads 16
   ========================================================
     mxnet sparse dot benchmark: dot(csr, default) = default
     (matrix multiplication: (m x k)^T * (k x n) = m x n)
   ========================================================
    lhs_density(%)  rhs_density(%)    context        m        k        n  
t_sparse(ms)   t_dense(ms)  speedup
               1.0           100.0     cpu(0)      256  1000000        2        
 14.44         32.46     2.25
   ```
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to