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 2017/12/02 03:27:18 UTC

[GitHub] weixingzhang commented on a change in pull request #8915: NVLink communication pattern updated

weixingzhang commented on a change in pull request #8915: NVLink communication pattern updated 
URL: https://github.com/apache/incubator-mxnet/pull/8915#discussion_r154487219
 
 

 ##########
 File path: src/kvstore/comm.h
 ##########
 @@ -127,8 +127,8 @@ class CommCPU : public Comm {
       if (src[0].storage_type() == kDefaultStorage) {
         return src[0];
       } else {  // if sparse and only one GPU, always update weight on CPU
-        CopyFromTo(src[0], &buf.merged, priority);
-        return buf.merged;
+          CopyFromTo(src[0], &buf.merged, priority);
 
 Review comment:
   indentation need to be corrected.

----------------------------------------------------------------
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