Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Merge pull request #121 from tqchen/master
Browse files Browse the repository at this point in the history
[KVStore] BUGFIX GPU merge
  • Loading branch information
tqchen committed Sep 22, 2015
2 parents c0b0093 + d857997 commit 522aa64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kvstore/kvstore_local.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ class KVStoreLocal : public KVStore {
} else {
CHECK_EQ(ctx.dev_mask(), gpu::kDevMask);
NDArray *copy_buf = buf.AllocCopyBuf(ctx.dev_id, val[0].shape());
CopyFromTo(val[0], copy_buf);
CopyFromTo(val[i], copy_buf);
buf.merged += *copy_buf;
}
}
Expand Down

0 comments on commit 522aa64

Please sign in to comment.