You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/05/01 22:21:52 UTC

[GitHub] leezu opened a new pull request #10772: Fix row_sparse_pull with single gpu

leezu opened a new pull request #10772: Fix row_sparse_pull with single gpu
URL: https://github.com/apache/incubator-mxnet/pull/10772
 
 
   ## Description ##
   When using the kvstore on a single device, so copy of the source array would be created when pushing to the kvstore:
   
       // avoid extra copy for single device, but it may bring problems for
       // abnormal usage of kvstore
       if (src.size() == 1) {
         return src[0];
       }
       
   When row sparse pulling from the kvstore, this would lead to a deadlock as both source and target arrays were identical. This PR makes sure they are not identical.
   
   Thanks @eric-haibin-lin for helping to find the cause.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services