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
47e523ef
Commit
47e523ef
authored
Dec 17, 2024
by
Po Yen Chen
Browse files
Update MakeKargs() arguments
parent
6c7a3bf4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
example/ck_tile/01_fmha/fmha_fwd.hpp
example/ck_tile/01_fmha/fmha_fwd.hpp
+7
-7
No files found.
example/ck_tile/01_fmha/fmha_fwd.hpp
View file @
47e523ef
...
...
@@ -416,8 +416,8 @@ auto fmha_fwd_splitkv_create_kargs_and_grids(fmha_fwd_splitkv_args args)
args
.
k_ptr
,
args
.
v_ptr
,
args
.
bias_ptr
,
args
.
lse_acc_ptr
,
args
.
o_acc_ptr
,
(
1
<
args
.
num_splits
?
args
.
lse_acc_ptr
:
args
.
lse_ptr
)
,
(
1
<
args
.
num_splits
?
args
.
o_acc_ptr
:
args
.
o_ptr
)
,
args
.
batch
,
args
.
seqstart_q_ptr
,
args
.
seqstart_k_ptr
,
...
...
@@ -437,17 +437,17 @@ auto fmha_fwd_splitkv_create_kargs_and_grids(fmha_fwd_splitkv_args args)
args
.
stride_k
,
args
.
stride_v
,
args
.
stride_bias
,
args
.
stride_o_acc
,
(
1
<
args
.
num_splits
?
args
.
stride_o_acc
:
args
.
stride_o
)
,
args
.
nhead_stride_q
,
args
.
nhead_stride_k
,
args
.
nhead_stride_v
,
args
.
nhead_stride_bias
,
args
.
nhead_stride_lse_acc
,
args
.
nhead_stride_o_acc
,
(
1
<
args
.
num_splits
?
args
.
nhead_stride_lse_acc
:
args
.
nhead_stride_lse
)
,
(
1
<
args
.
num_splits
?
args
.
nhead_stride_o_acc
:
args
.
nhead_stride_o
)
,
args
.
batch_stride_k
,
// only used for paged-kvcache
args
.
batch_stride_v
,
// only used for paged-kvcache
args
.
split_stride_lse_acc
,
args
.
split_stride_o_acc
,
(
1
<
args
.
num_splits
?
args
.
split_stride_lse_acc
:
0
)
,
(
1
<
args
.
num_splits
?
args
.
split_stride_o_acc
:
0
)
,
args
.
window_size_left
,
args
.
window_size_right
,
args
.
mask_type
);
...
...
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