-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PassManager refactoring #25637
base: master
Are you sure you want to change the base?
PassManager refactoring #25637
Conversation
|
||
ov::pass::Manager::~Manager() = default; | ||
if (off.count(val)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to apply "to_lower"
//// \brief Construct Manager with shared PassConfig instance | ||
explicit Manager(std::shared_ptr<PassConfig> pass_config); | ||
explicit Manager(std::shared_ptr<PassConfig> pass_config, std::string name = "PassManager"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UnnamedManager by default
if (is_pass_manager) { | ||
std::cout << "PassManager: "; | ||
} else { | ||
std::cout << "Transformation: "; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need to write to stdout these strings?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should it be parsed? if yes, it should be send to file (if file path passed)
continue; | ||
bool is_pass_manager = name == m_manager_name; | ||
if (is_pass_manager) { | ||
std::cout << "PassManager " << m_manager_name << " started: " << std::endl; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need this to stdout?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should it be parsed? if yes, it should be send to file (if file path passed)
if (is_pass_manager) { | ||
std::cout << "PassManager: "; | ||
} else { | ||
std::cout << "Transformation: "; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should it be parsed? if yes, it should be send to file (if file path passed)
<< (applied ? "1;" : "0;") << std::endl; | ||
} else { | ||
m_file << "t;" << name << ";" << m_manager_name << ";" << stopwatch.get_timer_value().count() << ";" | ||
<< (applied ? "1" : "0") << ";" << std::endl; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
python3 csv parser recognizes the last field - field after the last ';'. So currently the last field will be empty. It is not needed.
Details:
Tickets: