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
75f8262c
Commit
75f8262c
authored
Jan 27, 2026
by
zhanghj2
Browse files
fix total_num_blocks计算
parent
0ce8ee82
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
csrc/smxx/decode/get_decoding_sched_meta/get_decoding_sched_meta.cu
...decode/get_decoding_sched_meta/get_decoding_sched_meta.cu
+1
-1
No files found.
csrc/smxx/decode/get_decoding_sched_meta/get_decoding_sched_meta.cu
View file @
75f8262c
...
...
@@ -53,7 +53,7 @@ get_mla_metadata_kernel(const GetDecodeSchedMetaParams params) {
first_block_idx_shared
[
i
]
=
cur_first_block_idx
;
last_block_idx_shared
[
i
]
=
cur_last_block_idx
;
}
for
(
int
offset
=
16
;
offset
>=
1
;
offset
/=
2
)
{
for
(
int
offset
=
32
;
offset
>=
1
;
offset
/=
2
)
{
total_num_blocks
+=
__shfl_xor
(
total_num_blocks
,
offset
);
}
__syncthreads
();
...
...
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