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
b6acf57f
"vscode:/vscode.git/clone" did not exist on "b1d3c95425737dcb51598c044b9f2119955882fa"
Commit
b6acf57f
authored
Jun 26, 2018
by
Paul
Browse files
Print out if it passed
parent
c9e3af8e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
src/onnx/verify_onnx.cpp
src/onnx/verify_onnx.cpp
+5
-1
No files found.
src/onnx/verify_onnx.cpp
View file @
b6acf57f
...
...
@@ -42,7 +42,11 @@ int main(int argc, char const* argv[])
std
::
string
file
=
argv
[
1
];
auto
x
=
run_cpu
(
file
);
auto
y
=
run_gpu
(
file
);
if
(
x
!=
y
)
if
(
x
==
y
)
{
std
::
cout
<<
"Passed"
<<
std
::
endl
;
}
else
{
std
::
cout
<<
"Not equal"
<<
std
::
endl
;
std
::
cout
<<
x
<<
std
::
endl
;
...
...
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