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
20919ff7
Commit
20919ff7
authored
Sep 20, 2023
by
Umang Yadav
Browse files
rename --rms_tol to --rms-tol
parent
c7d60560
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
7 deletions
+11
-7
docs/driver.rst
docs/driver.rst
+1
-1
examples/migraphx/migraphx_driver/README.md
examples/migraphx/migraphx_driver/README.md
+3
-3
src/driver/main.cpp
src/driver/main.cpp
+7
-3
No files found.
docs/driver.rst
View file @
20919ff7
...
@@ -50,7 +50,7 @@ Runs reference and CPU or GPU implementations and checks outputs for consistency
...
@@ -50,7 +50,7 @@ Runs reference and CPU or GPU implementations and checks outputs for consistency
.. include:: ./driver/compile.rst
.. include:: ./driver/compile.rst
.. option:: --rms
_
tol [double]
.. option:: --rms
-
tol [double]
Tolerance for RMS error (Default: 0.001)
Tolerance for RMS error (Default: 0.001)
...
...
examples/migraphx/migraphx_driver/README.md
View file @
20919ff7
...
@@ -55,9 +55,9 @@ See below for a comprehensive list of commands and option arguments, as well as
...
@@ -55,9 +55,9 @@ See below for a comprehensive list of commands and option arguments, as well as
| --exhaustive-tune | Enable exhaustive search to find fastest kernel |
| --exhaustive-tune | Enable exhaustive search to find fastest kernel |
| --fp16 | Quantize for fp16 |
| --fp16 | Quantize for fp16 |
| --int8 | Quantize for int8 |
| --int8 | Quantize for int8 |
| --rms
_
tol | Tolerance for the RMS error
|
| --rms
-
tol | Tolerance for the RMS error
(Default: 0.001)
|
| --atol | Tolerance for elementwise absolute error
|
| --atol | Tolerance for elementwise absolute error
(Default: 0.001)
|
| --rtol | Tolerance for elementwise relative error
|
| --rtol | Tolerance for elementwise relative error
(Default: 0.001)
|
| --per-instruction
\|
-i | Verify each instruction |
| --per-instruction
\|
-i | Verify each instruction |
| --reduce
\|
-r | Reduce program and verify |
| --reduce
\|
-r | Reduce program and verify |
| --iterations
\|
-n | Number of iterations to run for perf report |
| --iterations
\|
-n | Number of iterations to run for perf report |
...
...
src/driver/main.cpp
View file @
20919ff7
...
@@ -542,9 +542,13 @@ struct verify : command<verify>
...
@@ -542,9 +542,13 @@ struct verify : command<verify>
void
parse
(
argument_parser
&
ap
)
void
parse
(
argument_parser
&
ap
)
{
{
c
.
parse
(
ap
);
c
.
parse
(
ap
);
ap
(
tols
.
rms_tol
,
{
"--rms_tol"
},
ap
.
help
(
"Tolerance for the RMS error"
));
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"
));
ap
(
tols
.
atol
,
ap
(
tols
.
rtol
,
{
"--rtol"
},
ap
.
help
(
"Tolerance for the elementwise relative error"
));
{
"--atol"
},
ap
.
help
(
"Tolerance for the elementwise absolute error (Default: 0.001)"
));
ap
(
tols
.
rtol
,
{
"--rtol"
},
ap
.
help
(
"Tolerance for the elementwise relative error (Default: 0.001)"
));
ap
(
per_instruction
,
ap
(
per_instruction
,
{
"-i"
,
"--per-instruction"
},
{
"-i"
,
"--per-instruction"
},
ap
.
help
(
"Verify each 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