Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
FlashMLA
Commits
f298a271
Commit
f298a271
authored
Feb 24, 2026
by
zhanghj2
Browse files
sm90改为gfx93
parent
a8393a04
Changes
45
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
27 additions
and
27 deletions
+27
-27
csrc/gfx93/prefill/sparse/instantiations/phase1_k576_topklen.cu
...fx93/prefill/sparse/instantiations/phase1_k576_topklen.cu
+1
-1
csrc/gfx93/prefill/sparse/phase1.cuh
csrc/gfx93/prefill/sparse/phase1.cuh
+1
-1
csrc/gfx93/prefill/sparse/phase1.h
csrc/gfx93/prefill/sparse/phase1.h
+1
-1
csrc/kerutils/include/kerutils/device/device.cuh
csrc/kerutils/include/kerutils/device/device.cuh
+2
-2
setup.py
setup.py
+22
-22
No files found.
csrc/
sm90
/prefill/sparse/instantiations/phase1_k576_topklen.cu
→
csrc/
gfx93
/prefill/sparse/instantiations/phase1_k576_topklen.cu
View file @
f298a271
#include "../phase1.h"
#include "../phase1.cuh"
namespace
sm90
::
fwd
{
namespace
gfx93
::
fwd
{
template
void
run_fwd_phase1_kernel
<
576
,
true
>(
const
SparseAttnFwdParams
&
params
);
...
...
csrc/
sm90
/prefill/sparse/phase1.cuh
→
csrc/
gfx93
/prefill/sparse/phase1.cuh
View file @
f298a271
...
...
@@ -5,7 +5,7 @@
#include "softmax.h"
#include "../../helpers.h"
namespace
sm90
::
fwd
{
namespace
gfx93
::
fwd
{
#define CUDART_L2E_F 1.442695041F
using
namespace
cute
;
...
...
csrc/
sm90
/prefill/sparse/phase1.h
→
csrc/
gfx93
/prefill/sparse/phase1.h
View file @
f298a271
...
...
@@ -2,7 +2,7 @@
#include "../../../params.h"
namespace
sm90
::
fwd
{
namespace
gfx93
::
fwd
{
template
<
int
D_QK
,
bool
HAVE_TOPK_LENGTH
>
void
run_fwd_phase1_kernel
(
const
SparseAttnFwdParams
&
params
);
...
...
csrc/kerutils/include/kerutils/device/device.cuh
View file @
f298a271
...
...
@@ -5,8 +5,8 @@
#include "common.h"
// #include "sm80/intrinsics.cuh"
// #include "sm80/helpers.cuh"
// #include "
sm90
/intrinsics.cuh"
// #include "
sm90
/helpers.cuh"
// #include "
gfx93
/intrinsics.cuh"
// #include "
gfx93
/helpers.cuh"
// #include "sm100/intrinsics.cuh"
// #include "sm100/helpers.cuh"
// #include "sm100/gemm.cuh"
...
...
setup.py
View file @
f298a271
...
...
@@ -55,30 +55,30 @@ ext_modules.append(
"csrc/smxx/decode/get_decoding_sched_meta/get_decoding_sched_meta.cu"
,
"csrc/smxx/decode/combine/combine.cu"
,
# #
sm90
dense decode
"csrc/
sm90
/decode/dense/instantiations/fp16.cu"
,
"csrc/
sm90
/decode/dense/instantiations/bf16.cu"
,
# #
gfx93
dense decode
"csrc/
gfx93
/decode/dense/instantiations/fp16.cu"
,
"csrc/
gfx93
/decode/dense/instantiations/bf16.cu"
,
##
sm90
dense qkvfp8 decode
"csrc/
sm90
/decode/dense_qkvfp8/instantiations/fp8e4m3.cu"
,
##
gfx93
dense qkvfp8 decode
"csrc/
gfx93
/decode/dense_qkvfp8/instantiations/fp8e4m3.cu"
,
##
sm90
dense kvfp8 decode
"csrc/
sm90
/decode/dense_kvfp8/instantiations/kvfp8.cu"
,
##
gfx93
dense kvfp8 decode
"csrc/
gfx93
/decode/dense_kvfp8/instantiations/kvfp8.cu"
,
# #
sm90
sparse decode
"csrc/
sm90
/decode/sparse_fp8/instantiations/model1_persistent_h16.cu"
,
"csrc/
sm90
/decode/sparse_fp8/instantiations/model1_persistent_h64.cu"
,
"csrc/
sm90
/decode/sparse_fp8/instantiations/model1_persistent_h128.cu"
,
"csrc/
sm90
/decode/sparse_fp8/instantiations/v32_persistent_h16.cu"
,
"csrc/
sm90
/decode/sparse_fp8/instantiations/v32_persistent_h64.cu"
,
"csrc/
sm90
/decode/sparse_fp8/instantiations/v32_persistent_h128.cu"
,
# #
sm90
sparse prefill
"csrc/
sm90
/prefill/sparse/fwd.cu"
,
"csrc/
sm90
/prefill/sparse/instantiations/phase1_k512.cu"
,
"csrc/
sm90
/prefill/sparse/instantiations/phase1_k512_topklen.cu"
,
"csrc/
sm90
/prefill/sparse/instantiations/phase1_k576.cu"
,
"csrc/
sm90
/prefill/sparse/instantiations/phase1_k576_topklen.cu"
,
# #
gfx93
sparse decode
"csrc/
gfx93
/decode/sparse_fp8/instantiations/model1_persistent_h16.cu"
,
"csrc/
gfx93
/decode/sparse_fp8/instantiations/model1_persistent_h64.cu"
,
"csrc/
gfx93
/decode/sparse_fp8/instantiations/model1_persistent_h128.cu"
,
"csrc/
gfx93
/decode/sparse_fp8/instantiations/v32_persistent_h16.cu"
,
"csrc/
gfx93
/decode/sparse_fp8/instantiations/v32_persistent_h64.cu"
,
"csrc/
gfx93
/decode/sparse_fp8/instantiations/v32_persistent_h128.cu"
,
# #
gfx93
sparse prefill
"csrc/
gfx93
/prefill/sparse/fwd.cu"
,
"csrc/
gfx93
/prefill/sparse/instantiations/phase1_k512.cu"
,
"csrc/
gfx93
/prefill/sparse/instantiations/phase1_k512_topklen.cu"
,
"csrc/
gfx93
/prefill/sparse/instantiations/phase1_k576.cu"
,
"csrc/
gfx93
/prefill/sparse/instantiations/phase1_k576_topklen.cu"
,
],
extra_compile_args
=
{
...
...
@@ -99,7 +99,7 @@ ext_modules.append(
include_dirs
=
[
Path
(
this_dir
)
/
"csrc"
,
Path
(
this_dir
)
/
"csrc"
/
"kerutils"
/
"include"
,
# TODO Remove me
Path
(
this_dir
)
/
"csrc"
/
"
sm90
"
,
Path
(
this_dir
)
/
"csrc"
/
"
gfx93
"
,
Path
(
this_dir
)
/
"csrc"
/
"cutlass"
/
"include"
,
],
)
...
...
Prev
1
2
3
Next
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