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
ddc8bb7d
Commit
ddc8bb7d
authored
Oct 13, 2023
by
Umang Yadav
Browse files
fix bug
parent
35c822e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/generate_root_modules.cpp
src/generate_root_modules.cpp
+3
-1
No files found.
src/generate_root_modules.cpp
View file @
ddc8bb7d
...
@@ -230,8 +230,10 @@ struct auto_gen_root_modules
...
@@ -230,8 +230,10 @@ struct auto_gen_root_modules
generate_run_on_target_modules
(
mm
,
p
,
std
::
next
(
ins
),
current_tid
.
value
());
generate_run_on_target_modules
(
mm
,
p
,
std
::
next
(
ins
),
current_tid
.
value
());
if
(
not
same_tid_ins_vec
.
empty
())
if
(
not
same_tid_ins_vec
.
empty
())
{
{
// generate() method would populate these container for next(ins), remove
// them to maintain invariant
current_tid
=
nullopt
;
current_tid
=
nullopt
;
same_tid_ins_set
.
erase
(
ins
);
same_tid_ins_set
.
erase
(
std
::
next
(
ins
)
)
;
same_tid_ins_vec
.
pop_back
();
same_tid_ins_vec
.
pop_back
();
}
}
}
}
...
...
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