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
9c2bd91d
Commit
9c2bd91d
authored
Oct 10, 2023
by
charlie
Browse files
clean up
parent
ac3ecd10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/driver/main.cpp
src/driver/main.cpp
+2
-2
No files found.
src/driver/main.cpp
View file @
9c2bd91d
...
@@ -579,8 +579,8 @@ struct verify : command<verify>
...
@@ -579,8 +579,8 @@ struct verify : command<verify>
{
{
tols
=
migraphx
::
verify
::
tolerance
{
8e-2
,
4e-2
,
4e-2
};
tols
=
migraphx
::
verify
::
tolerance
{
8e-2
,
4e-2
,
4e-2
};
}
}
auto
dbl_comp
=
[
&
](
auto
a
,
auto
b
){
auto
dbl_comp
=
[
&
](
double
a
,
double
b
){
return
std
::
abs
(
a
-
b
)
<=
std
::
numeric_limits
<
double
>::
epsilon
();
return
(
std
::
abs
(
a
-
b
)
<=
std
::
numeric_limits
<
double
>::
epsilon
()
)
;
};
};
if
(
not
dbl_comp
(
this
->
rms_tol
,
-
1.
))
if
(
not
dbl_comp
(
this
->
rms_tol
,
-
1.
))
{
{
...
...
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