Fix for switches conditional compilation (#4168)

This commit is contained in:
Vladislav Volkov authored and GitHub committed 2021-02-05 09:42:13 +03:00
1 parent bf05b4d4f6
commit 6083c7fa6b
2 files changed
+1 -2

No files matched your search

@@ -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())) {
@@ -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));
}