Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
d9bbe8ac
Commit
d9bbe8ac
authored
Apr 13, 2022
by
umangyadav
Browse files
enabled module tracw only wehn trace is enabled
parent
d1c4fb1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/pass_manager.cpp
src/pass_manager.cpp
+3
-1
No files found.
src/pass_manager.cpp
View file @
d9bbe8ac
...
...
@@ -104,7 +104,9 @@ void run_passes(program& prog, const std::vector<pass>& passes, tracer trace)
if
(
module_tracer_map
.
find
(
mod
->
name
())
==
module_tracer_map
.
end
())
{
module_tracer_map
[
mod
->
name
()]
=
module_trace
;
module_tracer_map
[
mod
->
name
()].
dump_dir
+=
"/"
+
mod
->
name
();
if
(
trace
.
enabled
())
{
module_tracer_map
[
mod
->
name
()].
dump_dir
+=
"/"
+
mod
->
name
();
}
}
if
(
mod
->
bypass
())
continue
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment