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
2e27a823
Commit
2e27a823
authored
May 10, 2022
by
charlie
Browse files
Tidy fix: use move
parent
77ba9cb1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/include/migraphx/shape.hpp
src/include/migraphx/shape.hpp
+1
-1
src/shape.cpp
src/shape.cpp
+1
-1
No files found.
src/include/migraphx/shape.hpp
View file @
2e27a823
...
@@ -63,7 +63,7 @@ struct shape
...
@@ -63,7 +63,7 @@ struct shape
{
{
std
::
size_t
min
=
0
;
std
::
size_t
min
=
0
;
std
::
size_t
max
=
0
;
std
::
size_t
max
=
0
;
std
::
size_t
opt
=
1
;
std
::
size_t
opt
=
0
;
dynamic_dimension
()
=
default
;
dynamic_dimension
()
=
default
;
...
...
src/shape.cpp
View file @
2e27a823
...
@@ -48,7 +48,7 @@ struct shape_impl
...
@@ -48,7 +48,7 @@ struct shape_impl
shape_impl
(
const
std
::
vector
<
shape
>&
subs
)
:
m_type
(
shape
::
tuple_type
),
m_shapes
(
subs
)
{}
shape_impl
(
const
std
::
vector
<
shape
>&
subs
)
:
m_type
(
shape
::
tuple_type
),
m_shapes
(
subs
)
{}
explicit
shape_impl
(
shape
::
dyn_data
data
)
explicit
shape_impl
(
shape
::
dyn_data
data
)
:
m_type
(
data
.
t
),
m_dynamic
(
true
),
m_dyn_dims
(
data
.
dims
)
:
m_type
(
data
.
t
),
m_dynamic
(
true
),
m_dyn_dims
(
std
::
move
(
data
.
dims
)
)
{
{
}
}
...
...
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