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
composable_kernel
Commits
16ee6676
Commit
16ee6676
authored
Jun 02, 2023
by
Po-Yen, Chen
Browse files
Remove unnecessary 'inline' specifier
parent
d6e1a821
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
include/ck/utility/amd_wave_read_first_lane.hpp
include/ck/utility/amd_wave_read_first_lane.hpp
+3
-3
No files found.
include/ck/utility/amd_wave_read_first_lane.hpp
View file @
16ee6676
...
@@ -41,7 +41,7 @@ struct get_carrier<3>
...
@@ -41,7 +41,7 @@ struct get_carrier<3>
static_assert
(
sizeof
(
bytes
)
<=
sizeof
(
value_type
));
static_assert
(
sizeof
(
bytes
)
<=
sizeof
(
value_type
));
public:
public:
__device__
inline
carrier
(
value_type
value
)
noexcept
__device__
carrier
(
value_type
value
)
noexcept
{
{
auto
from
=
reinterpret_cast
<
const
std
::
byte
*>
(
&
value
);
auto
from
=
reinterpret_cast
<
const
std
::
byte
*>
(
&
value
);
for
(
auto
to
=
bytes
.
begin
();
to
!=
bytes
.
end
();
++
to
,
++
from
)
for
(
auto
to
=
bytes
.
begin
();
to
!=
bytes
.
end
();
++
to
,
++
from
)
...
@@ -51,7 +51,7 @@ struct get_carrier<3>
...
@@ -51,7 +51,7 @@ struct get_carrier<3>
}
}
// method to trigger template substitution failure
// method to trigger template substitution failure
__device__
inline
carrier
&
operator
=
(
const
carrier
&
other
)
noexcept
__device__
carrier
&
operator
=
(
const
carrier
&
other
)
noexcept
{
{
auto
from
=
other
.
bytes
.
begin
();
auto
from
=
other
.
bytes
.
begin
();
for
(
auto
to
=
bytes
.
begin
();
to
!=
bytes
.
end
();
++
to
,
++
from
)
for
(
auto
to
=
bytes
.
begin
();
to
!=
bytes
.
end
();
++
to
,
++
from
)
...
@@ -62,7 +62,7 @@ struct get_carrier<3>
...
@@ -62,7 +62,7 @@ struct get_carrier<3>
return
*
this
;
return
*
this
;
}
}
__device__
inline
operator
value_type
()
const
noexcept
__device__
operator
value_type
()
const
noexcept
{
{
std
::
byte
result
[
sizeof
(
value_type
)];
std
::
byte
result
[
sizeof
(
value_type
)];
...
...
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