Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

Commit

Permalink
task-fix_compilation_error_in_mkldnn: fix compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrShv authored and ptbuilder committed Oct 27, 2016
2 parents aa2567c + e85c26b commit b57b3bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/caffe/mkldnn_memory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ template <typename Dtype, bool is_diff>
if (prv_ptr != NULL) {
shared_ptr<MKLDNNMemoryDescriptor<Dtype, is_diff> > blob_prv_mkldnn_mem_descr = get_mkldnn_prv_descriptor<Dtype, is_diff>(blob);
if (*blob_prv_mkldnn_mem_descr->prv_memory_pd() != *this->prv_memory_pd()) {
set_extprv_memory_pd(blob_prv_mkldnn_mem_descr->prv_memory_pd());
this->set_extprv_memory_pd(blob_prv_mkldnn_mem_descr->prv_memory_pd());
}
}
}
Expand Down

0 comments on commit b57b3bf

Please sign in to comment.