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
ed55d323
Commit
ed55d323
authored
Jul 11, 2022
by
Ted Themistokleous
Browse files
Revert "Change threshold for has_value tolerance"
This reverts commit
4aeacc17
.
parent
fcc84214
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/include/migraphx/matcher.hpp
src/include/migraphx/matcher.hpp
+1
-1
No files found.
src/include/migraphx/matcher.hpp
View file @
ed55d323
...
@@ -784,7 +784,7 @@ auto skip_broadcasts_converts(Ms... ms)
...
@@ -784,7 +784,7 @@ auto skip_broadcasts_converts(Ms... ms)
}
}
template
<
class
T
>
template
<
class
T
>
inline
auto
has_value
(
T
x
,
float
tolerance
=
1e-
12
)
inline
auto
has_value
(
T
x
,
float
tolerance
=
1e-
6
)
{
{
return
skip_broadcasts_converts
(
make_basic_pred_matcher
([
=
](
instruction_ref
ins
)
{
return
skip_broadcasts_converts
(
make_basic_pred_matcher
([
=
](
instruction_ref
ins
)
{
if
(
ins
->
name
()
!=
"@literal"
)
if
(
ins
->
name
()
!=
"@literal"
)
...
...
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