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
fd05f1be
Commit
fd05f1be
authored
Sep 20, 2023
by
Umang Yadav
Browse files
fix tidy
parent
7a167f25
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
src/include/migraphx/verify.hpp
src/include/migraphx/verify.hpp
+2
-7
No files found.
src/include/migraphx/verify.hpp
View file @
fd05f1be
...
@@ -234,14 +234,9 @@ bool allclose(const R1& r1, const R2& r2, tolerance tols)
...
@@ -234,14 +234,9 @@ bool allclose(const R1& r1, const R2& r2, tolerance tols)
auto
idx
=
mismatch_idx
(
r1
,
r2
,
[
&
](
auto
x
,
auto
y
)
{
auto
idx
=
mismatch_idx
(
r1
,
r2
,
[
&
](
auto
x
,
auto
y
)
{
return
abs_diff
(
double
(
x
),
double
(
y
))
>
tols
.
atol
+
tols
.
rtol
*
std
::
abs
(
double
(
y
));
return
abs_diff
(
double
(
x
),
double
(
y
))
>
tols
.
atol
+
tols
.
rtol
*
std
::
abs
(
double
(
y
));
});
});
if
(
idx
<
range_distance
(
r1
))
return
idx
<
range_distance
(
r1
);
{
return
false
;
}
return
true
;
}
}
else
return
false
;
return
false
;
}
}
template
<
class
R1
,
class
R2
>
template
<
class
R1
,
class
R2
>
...
...
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