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
63e10e34
Commit
63e10e34
authored
Feb 26, 2022
by
rocking
Browse files
Fix typo, use ushort instead of half_t for bfloat16
parent
c50e3de5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
composable_kernel/include/utility/amd_buffer_addressing.hpp
composable_kernel/include/utility/amd_buffer_addressing.hpp
+4
-4
No files found.
composable_kernel/include/utility/amd_buffer_addressing.hpp
View file @
63e10e34
...
@@ -653,18 +653,18 @@ __device__ void amd_buffer_store_impl(const typename vector_type<T, N>::type src
...
@@ -653,18 +653,18 @@ __device__ void amd_buffer_store_impl(const typename vector_type<T, N>::type src
}
}
else
if
constexpr
(
N
==
8
)
else
if
constexpr
(
N
==
8
)
{
{
vector_type
<
half_
t
,
8
>
tmp
{
src_thread_data
};
3
vector_type
<
ushor
t
,
8
>
tmp
{
src_thread_data
};
llvm_amdgcn_raw_buffer_store_
fp
16x4
(
tmp
.
AsType
<
half
4_t
>
()[
Number
<
0
>
{}],
llvm_amdgcn_raw_buffer_store_
i
16x4
(
tmp
.
AsType
<
ushort
4_t
>
()[
Number
<
0
>
{}],
dst_wave_buffer_resource
,
dst_wave_buffer_resource
,
dst_thread_addr_offset
,
dst_thread_addr_offset
,
dst_wave_addr_offset
,
dst_wave_addr_offset
,
0
);
0
);
llvm_amdgcn_raw_buffer_store_
fp
16x4
(
tmp
.
AsType
<
half
4_t
>
()[
Number
<
1
>
{}],
llvm_amdgcn_raw_buffer_store_
i
16x4
(
tmp
.
AsType
<
ushort
4_t
>
()[
Number
<
1
>
{}],
dst_wave_buffer_resource
,
dst_wave_buffer_resource
,
dst_thread_addr_offset
,
dst_thread_addr_offset
,
dst_wave_addr_offset
+
4
*
sizeof
(
half_
t
),
dst_wave_addr_offset
+
4
*
sizeof
(
ushor
t
),
0
);
0
);
}
}
}
}
...
...
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