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
751fd21a
Commit
751fd21a
authored
Apr 13, 2022
by
umangyadav
Browse files
formatting
parent
f6fc4eb9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
src/include/migraphx/tracer.hpp
src/include/migraphx/tracer.hpp
+6
-3
No files found.
src/include/migraphx/tracer.hpp
View file @
751fd21a
...
@@ -12,9 +12,12 @@ struct tracer
...
@@ -12,9 +12,12 @@ struct tracer
{
{
tracer
()
{}
tracer
()
{}
tracer
(
const
std
::
string
&
dump_directory
)
:
dump_dir
(
dump_directory
),
counter
(
0
),
dir_path
(
fs
::
current_path
()
/
dump_directory
)
{
tracer
(
const
std
::
string
&
dump_directory
)
if
(
fs
::
exists
(
dir_path
))
{
:
dump_dir
(
dump_directory
),
counter
(
0
),
dir_path
(
fs
::
current_path
()
/
dump_directory
)
fs
::
remove_all
(
dir_path
);
{
if
(
fs
::
exists
(
dir_path
))
{
fs
::
remove_all
(
dir_path
);
}
}
fs
::
create_directories
(
dir_path
);
fs
::
create_directories
(
dir_path
);
}
}
...
...
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