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
OpenDAS
tilelang
Commits
c6e888bd
Commit
c6e888bd
authored
Apr 22, 2026
by
qisan
Browse files
Merge: async_copy & lds_copy
parent
32d0b3cb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/target/codegen_hip.cc
src/target/codegen_hip.cc
+2
-2
No files found.
src/target/codegen_hip.cc
View file @
c6e888bd
...
@@ -1099,7 +1099,7 @@ void CodeGenTileLangHIP::VisitExpr_(const CallNode *op, std::ostream &os) {
...
@@ -1099,7 +1099,7 @@ void CodeGenTileLangHIP::VisitExpr_(const CallNode *op, std::ostream &os) {
}
else
{
}
else
{
offset
=
this
->
PrintExpr
(
op
->
args
[
1
]);
offset
=
this
->
PrintExpr
(
op
->
args
[
1
]);
}
}
os
<<
"make_wave_buffer_resource("
<<
base_ptr
<<
" + ("
<<
offset
<<
"))"
;
os
<<
"
tl::
make_wave_buffer_resource("
<<
base_ptr
<<
" + ("
<<
offset
<<
"))"
;
}
}
else
if
(
op
->
op
.
same_as
(
Op
::
Get
(
"tl.dcu_async_copy"
)))
{
else
if
(
op
->
op
.
same_as
(
Op
::
Get
(
"tl.dcu_async_copy"
)))
{
...
@@ -1124,7 +1124,7 @@ void CodeGenTileLangHIP::VisitExpr_(const CallNode *op, std::ostream &os) {
...
@@ -1124,7 +1124,7 @@ void CodeGenTileLangHIP::VisitExpr_(const CallNode *op, std::ostream &os) {
// 3. 仿照范例进行流输出
// 3. 仿照范例进行流输出
this
->
PrintIndent
();
this
->
PrintIndent
();
this
->
stream
<<
"cp_async_gs<"
this
->
stream
<<
"
tl::
cp_async_gs<"
<<
N
<<
", "
<<
N
<<
", "
<<
smem_offset
<<
", "
<<
smem_offset
<<
", "
<<
load_count
<<
", "
<<
load_count
<<
", "
...
...
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