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
DeepEP
Commits
24324cc5
"vscode:/vscode.git/clone" did not exist on "454caac9101da608e1582e7cb3277bf60fd3c1b3"
Commit
24324cc5
authored
Sep 10, 2025
by
Shangyan Zhou
Browse files
Fix combine tma mbarrier
parent
ee5bd170
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
csrc/kernels/internode.cu
csrc/kernels/internode.cu
+2
-2
No files found.
csrc/kernels/internode.cu
View file @
24324cc5
...
@@ -1439,13 +1439,13 @@ combine(int4* combined_x, float* combined_topk_weights,
...
@@ -1439,13 +1439,13 @@ combine(int4* combined_x, float* combined_topk_weights,
// TMA stuffs
// TMA stuffs
extern
__shared__
__align__
(
1024
)
uint8_t
smem_tma_buffer
[];
extern
__shared__
__align__
(
1024
)
uint8_t
smem_tma_buffer
[];
auto
tma_buffer
=
smem_tma_buffer
+
dst_nvl_rank
*
kNumTMABytesPerSenderWarp
;
auto
tma_buffer
=
smem_tma_buffer
+
dst_nvl_rank
*
kNumTMABytesPerSenderWarp
;
auto
tma_mbarrier
=
reinterpret_cast
<
uint64_t
*>
(
tma_buffer
+
hidden_bytes
);
auto
tma_mbarrier
=
reinterpret_cast
<
uint64_t
*>
(
tma_buffer
+
num_bytes_per_token
);
uint32_t
tma_phase
=
0
;
uint32_t
tma_phase
=
0
;
if
(
lane_id
==
0
)
{
if
(
lane_id
==
0
)
{
mbarrier_init
(
tma_mbarrier
,
1
);
mbarrier_init
(
tma_mbarrier
,
1
);
fence_view_async_shared
();
fence_view_async_shared
();
fence_barrier_init
();
fence_barrier_init
();
EP_DEVICE_ASSERT
(
hidden_bytes
+
sizeof
(
uint64_t
)
<=
kNumTMABytesPerSenderWarp
);
EP_DEVICE_ASSERT
(
num_bytes_per_token
+
sizeof
(
uint64_t
)
<=
kNumTMABytesPerSenderWarp
);
}
}
__syncwarp
();
__syncwarp
();
...
...
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