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
ba2a9a23
Commit
ba2a9a23
authored
Oct 04, 2023
by
Artur Wojcik
Browse files
incorporate code changes from the review feedback
parent
bdef7adb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
+2
-8
src/include/migraphx/matcher.hpp
src/include/migraphx/matcher.hpp
+0
-6
test/verify/run_verify.cpp
test/verify/run_verify.cpp
+2
-2
No files found.
src/include/migraphx/matcher.hpp
View file @
ba2a9a23
...
...
@@ -308,12 +308,6 @@ struct matcher_result
{
}
instruction_container
&
operator
=
(
const
std
::
unordered_map
<
std
::
string
,
instruction_ref
>&
x
)
{
ins_map
=
x
;
return
*
this
;
}
instruction_ref
operator
[](
const
std
::
string
&
name
)
const
{
auto
it
=
ins_map
.
find
(
name
);
...
...
test/verify/run_verify.cpp
View file @
ba2a9a23
...
...
@@ -44,8 +44,8 @@ MIGRAPHX_DECLARE_ENV_VAR(MIGRAPHX_DUMP_TEST)
// An improved async, that doesn't block
template
<
class
Function
>
std
::
future
<
typename
std
::
result_
of
<
Function
()
>::
type
>
detach_async
(
Function
&&
f
,
bool
parallel
=
true
)
std
::
future
<
typename
std
::
invoke_
result_
t
<
Function
>
>
detach_async
(
Function
&&
f
,
bool
parallel
=
true
)
{
if
(
parallel
)
{
...
...
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