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
a9e098ac
Commit
a9e098ac
authored
Feb 08, 2019
by
Paul
Browse files
Move params
parent
11bc1594
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/program.cpp
src/program.cpp
+1
-1
No files found.
src/program.cpp
View file @
a9e098ac
...
...
@@ -524,7 +524,7 @@ void program::debug_print(const std::vector<instruction_ref>& inss) const
void
program
::
dry_run
(
std
::
unordered_map
<
std
::
string
,
argument
>
params
)
const
{
auto
&
ctx
=
this
->
impl
->
ctx
;
generic_eval
(
*
this
,
ctx
,
params
,
[](
auto
&&
...)
{
return
argument
{};
});
generic_eval
(
*
this
,
ctx
,
std
::
move
(
params
)
,
[](
auto
&&
...)
{
return
argument
{};
});
}
bool
operator
==
(
const
program
&
x
,
const
program
&
y
)
{
return
to_string
(
x
)
==
to_string
(
y
);
}
...
...
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