Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
usstq committed Jan 3, 2025
1 parent 4f55060 commit 19b53c4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 20 deletions.
19 changes: 2 additions & 17 deletions src/plugins/intel_cpu/src/nodes/kernels/x64/simd_jit.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,10 @@ class SReg {

class VReg {
private:
SIMDJit* jit = nullptr;
std::shared_ptr<Xbyak::Xmm> reg;

public:
VReg(SIMDJit* jit, std::shared_ptr<Xbyak::Xmm> reg) : jit(jit), reg(reg) {}
VReg(std::shared_ptr<Xbyak::Xmm> reg) : reg(reg) {}

VReg() = default;

Expand Down Expand Up @@ -572,7 +571,7 @@ class SIMDJit : public jit_generator {
}

VReg get_vreg() {
return VReg(this, alloc_vreg(-1));
return VReg(alloc_vreg(-1));
}

std::vector<VReg> get_vregs(size_t num_vregs) {
Expand All @@ -582,20 +581,6 @@ class SIMDJit : public jit_generator {
return ret;
}

#if 0
Xbyak::Xmm Vmm(int id) {
if (use_avx512) {
if (id >= 32)
throw std::runtime_error(std::string("try to use invalid zmm register: #") + std::to_string(id));
return Xbyak::Zmm(id);
} else {
if (id >= 16)
throw std::runtime_error(std::string("try to use invalid ymm register: #") + std::to_string(id));
return Xbyak::Ymm(id);
}
}
#endif

// simd_xxx helpers have meaning similar to x86 intrinsics
// it's more well-known than raw instruction can it also can be
// made cross-platform(avx2/avx512/neon/...)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,12 +201,12 @@ ov::intel_cpu::ActivationSparsityFusion::ActivationSparsityFusion() {
return false;
}

#ifdef CPU_DEBUG_CAPS
if (std::getenv("NO_SPARSE"))
return false;
std::cout << __func__ << ":" << m.get_match_root() << std::endl;
#endif
ov::replace_node(old_node, new_node);

std::cout << m.get_match_root() << std::endl;

return false;
};

Expand Down

0 comments on commit 19b53c4

Please sign in to comment.