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
09e88486
Commit
09e88486
authored
Dec 13, 2023
by
Uros Petkovic
Browse files
Fix clang-format
parent
ed196e59
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
src/simplify_qdq.cpp
src/simplify_qdq.cpp
+5
-2
No files found.
src/simplify_qdq.cpp
View file @
09e88486
...
@@ -214,10 +214,13 @@ bool compare_literals(instruction_ref ins1, instruction_ref ins2)
...
@@ -214,10 +214,13 @@ bool compare_literals(instruction_ref ins1, instruction_ref ins2)
l1
.
end
(),
l1
.
end
(),
[
&
](
auto
v
)
{
[
&
](
auto
v
)
{
return
((
float_equal
(
v
,
l1
.
front
()))
or
return
((
float_equal
(
v
,
l1
.
front
()))
or
(
std
::
isinf
(
static_cast
<
double
>
(
l1
.
front
()))
and
std
::
isinf
(
static_cast
<
double
>
(
v
))));
(
std
::
isinf
(
static_cast
<
double
>
(
l1
.
front
()))
and
std
::
isinf
(
static_cast
<
double
>
(
v
))));
})
and
})
and
std
::
all_of
(
l2
.
begin
(),
l2
.
end
(),
[
&
](
auto
v
)
{
std
::
all_of
(
l2
.
begin
(),
l2
.
end
(),
[
&
](
auto
v
)
{
return
((
float_equal
(
v
,
l1
.
front
()))
or
(
std
::
isinf
(
static_cast
<
double
>
(
l1
.
front
()))
and
std
::
isinf
(
static_cast
<
double
>
(
v
))));
return
((
float_equal
(
v
,
l1
.
front
()))
or
(
std
::
isinf
(
static_cast
<
double
>
(
l1
.
front
()))
and
std
::
isinf
(
static_cast
<
double
>
(
v
))));
});
});
});
});
...
...
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