Skip to content

Commit

Permalink
skip prepare_table() in jit_uni_vcvtneps2bf16 for avx2_vnni_2
Browse files Browse the repository at this point in the history
  • Loading branch information
liubo-intel committed Dec 13, 2023
1 parent 8598906 commit 2946ae7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/plugins/intel_cpu/src/emitters/x64/jit_bf16_emitters.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ class jit_uni_vcvtneps2bf16 : public jit_emitter {
public:
jit_uni_vcvtneps2bf16(dnnl::impl::cpu::x64::jit_generator* host, dnnl::impl::cpu::x64::cpu_isa_t host_isa,
ov::element::Type exec_prc = ov::element::bf16) : jit_emitter(host, host_isa, exec_prc) {
if (!dnnl::impl::cpu::x64::mayiuse(dnnl::impl::cpu::x64::avx512_core_bf16))
if (!dnnl::impl::cpu::x64::mayiuse(dnnl::impl::cpu::x64::avx512_core_bf16) &&
!dnnl::impl::cpu::x64::mayiuse(dnnl::impl::cpu::x64::avx2_vnni_2))
prepare_table();
}

Expand Down

0 comments on commit 2946ae7

Please sign in to comment.