From 94ea05cf0f23e1daa006fd9b1f453f221741f3ee Mon Sep 17 00:00:00 2001 From: Anton Voronov Date: Tue, 3 Jan 2023 12:13:25 +0000 Subject: [PATCH] removed commented code --- src/common/memory.cpp | 4 ---- src/cpu/x64/jit_brgemm_inner_product.cpp | 2 -- 2 files changed, 6 deletions(-) diff --git a/src/common/memory.cpp b/src/common/memory.cpp index 69da527c774..d0696c7051e 100644 --- a/src/common/memory.cpp +++ b/src/common/memory.cpp @@ -548,10 +548,6 @@ status_t dnnl_memory_create(memory_t **memory, const memory_desc_t *md, #endif if (any_null(memory, engine)) return invalid_arguments; - // if (md->format_kind == dnnl_format_sparse) { - // printf("here\n"); - // } - memory_desc_t z_md = types::zero_md(); if (md == nullptr) md = &z_md; diff --git a/src/cpu/x64/jit_brgemm_inner_product.cpp b/src/cpu/x64/jit_brgemm_inner_product.cpp index 1a019393a43..61d773b4137 100644 --- a/src/cpu/x64/jit_brgemm_inner_product.cpp +++ b/src/cpu/x64/jit_brgemm_inner_product.cpp @@ -211,8 +211,6 @@ status_t brgemm_inner_product_fwd_t::execute_forward( * 64; dcomp_params.bitmask_ptr = weights + jbgp.weight_comp_bitmask_off + wei_offset / 8; - // dcomp_params.bitmask_ptr - // = weights + (jbgp.oc * jbgp.ic) + wei_offset / 8; const size_t decomp_buf_per_thr = (size_t)jbgp.ic * 64; auto decomp_buf = decomp_buf_global + ithr * decomp_buf_per_thr;