From 1e7209057229038e0784b15169474d23fb524e4e Mon Sep 17 00:00:00 2001 From: Ilya Lavrenov Date: Thu, 14 Dec 2023 16:30:44 +0800 Subject: [PATCH] [FORK][FIX] Fixed -Wdeprecated-enum-enum-conversion error --- src/cpu/x64/jit_uni_fork_dw_conv_kernel_f32.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpu/x64/jit_uni_fork_dw_conv_kernel_f32.cpp b/src/cpu/x64/jit_uni_fork_dw_conv_kernel_f32.cpp index 9b4dfb4878a..f58bf65aa21 100644 --- a/src/cpu/x64/jit_uni_fork_dw_conv_kernel_f32.cpp +++ b/src/cpu/x64/jit_uni_fork_dw_conv_kernel_f32.cpp @@ -817,7 +817,7 @@ void jit_uni_fork_dw_conv_fwd_kernel_f32::generate() { Label exit_label; int ch_blocks_tail = jcp.nb_ch % jcp.nb_ch_blocking; - if (isa & avx512_core_bit) { + if (static_cast(isa) & avx512_core_bit) { const auto oc_tail = jcp.oc_without_padding % jcp.ch_block; if (oc_tail != 0) { // Prepare masks for tailing