Skip to content

Commit

Permalink
Fix for switches conditional compilation (#4168)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladislav-volkov authored Feb 5, 2021
1 parent bf05b4d commit 6083c7f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,6 @@ void MKLDNNSplitNode::initializeDstMemPtrs() {
//It's important in case when several edges are connected to one port.
//This is a naive implementation, an indexed priority queue or modified treap would be a more elegant solution.
std::unordered_map<uint8_t*, size_t> mapDstPtrs;
using pair_t = std::pair<uint8_t*, size_t>;
for (size_t i = 0; i < getChildEdges().size(); ++i) {
auto outputEdge = this->getChildEdgeAt(i);
if (uint8_t* dstData = reinterpret_cast<uint8_t*>(outputEdge->getMemoryPtr()->GetPtr())) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ bool match(char const *region, Ctx && ctx, T && val, Case && cs) {
const bool is_matched = val == cs.value;
if (is_matched) {
openvino::itt::ScopedTask<domain> task(
openvino::itt::handle<struct OV_CC_CAT(Task_, __LINE__)>(
openvino::itt::handle(
std::string(region) + "$" + cs.name));
Fn<typename Case::type>()(std::forward<Ctx>(ctx));
}
Expand Down

0 comments on commit 6083c7f

Please sign in to comment.