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
8930d23d
Commit
8930d23d
authored
Sep 20, 2023
by
Umang Yadav
Browse files
use difference instead of error
parent
d505eecb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
docs/driver.rst
docs/driver.rst
+2
-2
examples/migraphx/migraphx_driver/README.md
examples/migraphx/migraphx_driver/README.md
+2
-2
src/driver/main.cpp
src/driver/main.cpp
+2
-2
No files found.
docs/driver.rst
View file @
8930d23d
...
...
@@ -56,11 +56,11 @@ Tolerance for RMS error (Default: 0.001)
.. option:: --atol [double]
Tolerance for elementwise absolute
error
(Default: 0.001)
Tolerance for elementwise absolute
difference
(Default: 0.001)
.. option:: --rtol [double]
Tolerance for elementwise relative
error
(Default: 0.001)
Tolerance for elementwise relative
difference
(Default: 0.001)
.. option:: -i, --per-instruction
...
...
examples/migraphx/migraphx_driver/README.md
View file @
8930d23d
...
...
@@ -56,8 +56,8 @@ See below for a comprehensive list of commands and option arguments, as well as
| --fp16 | Quantize for fp16 |
| --int8 | Quantize for int8 |
| --rms-tol | Tolerance for the RMS error (Default: 0.001) |
| --atol | Tolerance for elementwise absolute
error
(Default: 0.001) |
| --rtol | Tolerance for elementwise relative
error
(Default: 0.001) |
| --atol | Tolerance for elementwise absolute
difference
(Default: 0.001) |
| --rtol | Tolerance for elementwise relative
difference
(Default: 0.001) |
| --per-instruction
\|
-i | Verify each instruction |
| --reduce
\|
-r | Reduce program and verify |
| --iterations
\|
-n | Number of iterations to run for perf report |
...
...
src/driver/main.cpp
View file @
8930d23d
...
...
@@ -545,10 +545,10 @@ struct verify : command<verify>
ap
(
tols
.
rms_tol
,
{
"--rms-tol"
},
ap
.
help
(
"Tolerance for the RMS error (Default: 0.001)"
));
ap
(
tols
.
atol
,
{
"--atol"
},
ap
.
help
(
"Tolerance for the elementwise absolute
error
(Default: 0.001)"
));
ap
.
help
(
"Tolerance for the elementwise absolute
difference
(Default: 0.001)"
));
ap
(
tols
.
rtol
,
{
"--rtol"
},
ap
.
help
(
"Tolerance for the elementwise relative
error
(Default: 0.001)"
));
ap
.
help
(
"Tolerance for the elementwise relative
difference
(Default: 0.001)"
));
ap
(
per_instruction
,
{
"-i"
,
"--per-instruction"
},
ap
.
help
(
"Verify each instruction"
),
...
...
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