Skip to content

Commit

Permalink
rename InsertPerfCountVerbose
Browse files Browse the repository at this point in the history
  • Loading branch information
aobolensk committed Jan 28, 2025
1 parent 551e9bf commit 4369e6b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ namespace lowered {
namespace pass {

/**
* @interface BrgemmDebugParams
* @interface InsertPerfCountVerbose
* @brief Brgemm parameters dump pass
* @ingroup snippets
*/
class BrgemmDebugParams : public snippets::lowered::pass::RangedPass {
class InsertPerfCountVerbose : public snippets::lowered::pass::RangedPass {
public:
BrgemmDebugParams(const std::string& subgraph_name) : m_subgraph_name(subgraph_name) {}
OPENVINO_RTTI("BrgemmDebugParams", "", RangedPass);
InsertPerfCountVerbose(const std::string& subgraph_name) : m_subgraph_name(subgraph_name) {}
OPENVINO_RTTI("InsertPerfCountVerbose", "", RangedPass);

bool run(snippets::lowered::LinearIR& linear_ir,
snippets::lowered::LinearIR::constExprIt begin,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//

#ifdef SNIPPETS_DEBUG_CAPS
#include "snippets/lowered/pass/brgemm_debug_params.hpp"
#include "snippets/lowered/pass/insert_perf_count_verbose.hpp"

#include "snippets/itt.hpp"
#include "snippets/lowered/linear_ir.hpp"
Expand All @@ -19,10 +19,10 @@ namespace snippets {
namespace lowered {
namespace pass {

bool BrgemmDebugParams::run(snippets::lowered::LinearIR& linear_ir,
snippets::lowered::LinearIR::constExprIt begin,
snippets::lowered::LinearIR::constExprIt end) {
OV_ITT_SCOPED_TASK(ov::pass::itt::domains::SnippetsTransform, "Snippets::BrgemmDebugParams")
bool InsertPerfCountVerbose::run(snippets::lowered::LinearIR& linear_ir,
snippets::lowered::LinearIR::constExprIt begin,
snippets::lowered::LinearIR::constExprIt end) {
OV_ITT_SCOPED_TASK(ov::pass::itt::domains::SnippetsTransform, "Snippets::InsertPerfCountVerbose")
if (linear_ir.get_config().debug_config.dumpParams.csv_path.empty()) {
return false;
}
Expand Down Expand Up @@ -55,8 +55,8 @@ bool BrgemmDebugParams::run(snippets::lowered::LinearIR& linear_ir,
return modified;
}

std::string BrgemmDebugParams::collect_params(const ov::snippets::lowered::ExpressionPtr& brgemm_expr,
const snippets::lowered::LinearIR& linear_ir) {
std::string InsertPerfCountVerbose::collect_params(const ov::snippets::lowered::ExpressionPtr& brgemm_expr,
const snippets::lowered::LinearIR& linear_ir) {
const auto brgemm = ov::as_type_ptr<ov::snippets::op::Brgemm>(brgemm_expr->get_node());
OPENVINO_ASSERT(brgemm, "Brgemm is nullptr!");
std::stringstream ss;
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/intel_cpu/src/nodes/subgraph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
#include "onednn/dnnl.h"
#include "openvino/core/parallel.hpp"
#include "shape_inference/custom/subgraph.hpp"
#include "snippets/lowered/pass/brgemm_debug_params.hpp"
#include "snippets/lowered/pass/init_loops.hpp"
#include "snippets/lowered/pass/insert_buffers.hpp"
#include "snippets/lowered/pass/insert_loops.hpp"
#include "snippets/lowered/pass/insert_perf_count_verbose.hpp"
#include "snippets/lowered/pass/mark_loops.hpp"
#include "snippets/op/subgraph.hpp"
#include "snippets/pass/analyze_broadcastable_inputs.hpp"
Expand Down Expand Up @@ -529,7 +529,7 @@ Subgraph::ControlFlowPasses Subgraph::getControlFlowPasses() const {
#ifdef SNIPPETS_DEBUG_CAPS
SNIPPETS_REGISTER_PASS_RELATIVE(Place::After,
ov::intel_cpu::pass::BrgemmCPUBlocking,
ov::snippets::lowered::pass::BrgemmDebugParams,
ov::snippets::lowered::pass::InsertPerfCountVerbose,
getName());
#endif // SNIPPETS_DEBUG_CAPS

Expand Down

0 comments on commit 4369e6b

Please sign in to comment.