forked from apache/mxnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MXNET-551] Test CreateMKLDNNMem/CommitOutput (apache#11308)
* refactor copyfrom * add boilerplate * rename to MKLDNNCopy * write to temp memory * reorder mkldnn / views * return memory from GetMKLDNNData * add kaddto to unit test * move orig output before creatingnewmem * coerce memory if shape does not fit * use MKLDNNCopy in commit * uncomment addto test * switch order of mkldnnsum params * improving logging * wait to read after copying arr * remove extra white spaces * remove extra white space * remove unused var * reorder output * do not write to views * remove shape check in test * use input pdesc * remove unused var * fix merge * put inplace in separate loop * use two mem * use sum_pd when calling CreateMKLDNNData * reorder sum shapes if needed * comment out getsumpd * use MKLDNNCopy helper to reshape mem * remove getsumpd * use output mem for createmem * remove todo * waittoread output * do not attempt to shape output * use correct arr as input * revert commit change to ps-lite * revert change to tvm * fix lint * add comment to test * reduce calls to get_primitive_desc * skip tests that reorder2default * push_back to inputs * skip if view/mkldnn * add noop test * pass input ptr for write in place * allow empty
- Loading branch information
Showing
5 changed files
with
242 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.