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
7a167f25
Commit
7a167f25
authored
Sep 20, 2023
by
Umang Yadav
Browse files
fix order
parent
c1d677b0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/driver/verify.cpp
src/driver/verify.cpp
+4
-4
No files found.
src/driver/verify.cpp
View file @
7a167f25
...
@@ -78,13 +78,13 @@ void verify_program(const std::string& name,
...
@@ -78,13 +78,13 @@ void verify_program(const std::string& name,
const
parameter_map
&
inputs
,
const
parameter_map
&
inputs
,
verify
::
tolerance
tols
)
verify
::
tolerance
tols
)
{
{
auto
x
=
run_ref
(
p
,
inputs
);
auto
ref_outs
=
run_ref
(
p
,
inputs
);
auto
y
=
run_target
(
p
,
t
,
options
,
quantize
,
inputs
);
auto
target_outs
=
run_target
(
p
,
t
,
options
,
quantize
,
inputs
);
std
::
size_t
output_num
=
x
.
size
();
std
::
size_t
output_num
=
ref_outs
.
size
();
for
(
std
::
size_t
i
=
0
;
i
<
output_num
;
++
i
)
for
(
std
::
size_t
i
=
0
;
i
<
output_num
;
++
i
)
{
{
verify_args_with_threshold
(
name
,
x
[
i
],
y
[
i
],
tols
);
verify_args_with_threshold
(
name
,
target_outs
[
i
],
ref_outs
[
i
],
tols
);
}
}
}
}
...
...
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