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
b6b02dab
Unverified
Commit
b6b02dab
authored
Sep 06, 2025
by
Jiaxing Ding
Committed by
GitHub
Sep 06, 2025
Browse files
[AMD] fix mfma op interface (#791)
Co-authored-by:
Jiaxing Ding
<
jiaxing.ding@bytedance.com
>
parent
cda5ea15
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
4 deletions
+24
-4
tilelang/language/tir/op.py
tilelang/language/tir/op.py
+24
-4
No files found.
tilelang/language/tir/op.py
View file @
b6b02dab
...
...
@@ -1321,8 +1321,9 @@ def tvm_mfma(
call : PrimExpr
The call expression.
"""
return
_tvm_op
.
tvm_mfma
(
return
call_intrin
(
dtype
,
_tvm_op
.
Op
.
get
(
"tl.tvm_mfma"
),
shape
,
A_layout
,
B_layout
,
...
...
@@ -1369,7 +1370,16 @@ def tvm_mfma_store(dtype, m, n, dst_ptr, src_ptr, src_offset, dst_stride):
call : PrimExpr
The call expression.
"""
return
_tvm_op
.
tvm_mfma_store
(
dtype
,
m
,
n
,
dst_ptr
,
src_ptr
,
src_offset
,
dst_stride
)
return
call_intrin
(
dtype
,
_tvm_op
.
Op
.
get
(
"tl.tvm_mfma_store"
),
m
,
n
,
dst_ptr
,
src_ptr
,
src_offset
,
dst_stride
,
)
def
tvm_rdna_wmma
(
...
...
@@ -1436,8 +1446,9 @@ def tvm_rdna_wmma(
call : PrimExpr
The call expression.
"""
return
_tvm_op
.
tvm_rdna_wmma
(
return
call_intrin
(
dtype
,
_tvm_op
.
Op
.
get
(
"tl.tvm_rdna_wmma"
),
shape
,
A_layout
,
B_layout
,
...
...
@@ -1484,7 +1495,16 @@ def tvm_rdna_wmma_store(dtype, m, n, dst_ptr, src_ptr, src_offset, dst_stride):
call : PrimExpr
The call expression.
"""
return
_tvm_op
.
tvm_rdna_wmma_store
(
dtype
,
m
,
n
,
dst_ptr
,
src_ptr
,
src_offset
,
dst_stride
)
return
call_intrin
(
dtype
,
_tvm_op
.
Op
.
get
(
"tl.tvm_rdna_wmma_store"
),
m
,
n
,
dst_ptr
,
src_ptr
,
src_offset
,
dst_stride
,
)
def
ptx_cp_async_barrier
(
barrier_id
):
...
...
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