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_ROCM
Commits
e34e6308
Commit
e34e6308
authored
Jan 20, 2025
by
Juan Manuel Martinez Caamaño
Browse files
fix compiler error
parent
381c34e6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
include/ck_tile/core/arch/amd_buffer_addressing.hpp
include/ck_tile/core/arch/amd_buffer_addressing.hpp
+2
-1
No files found.
include/ck_tile/core/arch/amd_buffer_addressing.hpp
View file @
e34e6308
...
...
@@ -72,8 +72,9 @@ struct buffer_load;
CK_TILE_DEVICE
__amdgpu_buffer_rsrc_t
cast_to_amdgpu_buffer_rsrc_t
(
int32x4_t
res
)
{
__amdgpu_buffer_rsrc_t
as_rsrc
=
__builtin_bit_cast
(
__amdgpu_buffer_rsrc_t
,
res
)
;
__amdgpu_buffer_rsrc_t
as_rsrc
;
static_assert
(
sizeof
(
res
)
==
sizeof
(
as_rsrc
)
&&
"Size of buffer resource should match"
);
memcpy
(
&
as_rsrc
,
&
res
,
sizeof
(
res
));
return
as_rsrc
;
}
...
...
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