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 2019/07/23 07:10:42 UTC
[GitHub] [incubator-mxnet] pengzhao-intel commented on a change in pull
request #15637: Fix _copy_to on MKLDNN backend
pengzhao-intel commented on a change in pull request #15637: Fix _copy_to on MKLDNN backend
URL: https://github.com/apache/incubator-mxnet/pull/15637#discussion_r306158978
##########
File path: src/imperative/imperative_utils.h
##########
@@ -419,7 +419,7 @@ inline void PushFCompute(const FCompute& fn,
// mapping from index in input_blobs to index in pre_temp_dst
std::unordered_map<uint32_t, uint32_t> in_temp_idx_map;
#if MXNET_USE_MKLDNN == 1
- InvalidateOutputs(outputs, req);
+ if (exec_type != ExecType::kCrossDeviceCopy) InvalidateOutputs(outputs, req);
Review comment:
Any other types in here?
Could you add some comments?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services