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
0a27e390
Commit
0a27e390
authored
Nov 08, 2023
by
Paul
Browse files
Format
parent
0b840acc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/simplify_algebra.cpp
src/simplify_algebra.cpp
+1
-1
No files found.
src/simplify_algebra.cpp
View file @
0a27e390
...
...
@@ -745,7 +745,7 @@ void move_instructions_back(module& m, instruction_ref pos, std::vector<instruct
optional
<
std
::
size_t
>
find_split_axis
(
const
std
::
vector
<
instruction_ref
>&
slices
)
{
auto
first
=
slices
.
front
();
auto
first
=
slices
.
front
();
auto
get_slice
=
[](
auto
&
i
)
->
auto
&
{
return
any_cast
<
op
::
slice
>
(
i
->
get_operator
());
};
auto
get_start
=
[
&
](
auto
&
i
)
->
auto
&
{
return
get_slice
(
i
).
starts
;
};
auto
get_end
=
[
&
](
auto
&
i
)
->
auto
&
{
return
get_slice
(
i
).
ends
;
};
...
...
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