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
3073a2c6
Unverified
Commit
3073a2c6
authored
Jul 15, 2025
by
Shangyan Zhou
Committed by
GitHub
Jul 15, 2025
Browse files
Correct the wqe_idx in rdma write wqe
correct the wqe_idx in rdma write wqe
parents
079c5a4f
eaa2d0d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
csrc/kernels/ibgda_device.cuh
csrc/kernels/ibgda_device.cuh
+3
-2
No files found.
csrc/kernels/ibgda_device.cuh
View file @
3073a2c6
...
@@ -370,9 +370,10 @@ nvshmemi_ibgda_put_nbi_warp(uint64_t req_rptr, uint64_t req_lptr, size_t bytes,
...
@@ -370,9 +370,10 @@ nvshmemi_ibgda_put_nbi_warp(uint64_t req_rptr, uint64_t req_lptr, size_t bytes,
base_wqe_idx
=
ibgda_reserve_wqe_slots
(
qp
,
num_wqes
);
base_wqe_idx
=
ibgda_reserve_wqe_slots
(
qp
,
num_wqes
);
base_wqe_idx
=
__shfl_sync
(
0xffffffff
,
base_wqe_idx
,
0
);
base_wqe_idx
=
__shfl_sync
(
0xffffffff
,
base_wqe_idx
,
0
);
if
(
lane_id
<
num_wqes
)
{
if
(
lane_id
<
num_wqes
)
{
auto
wqe_ptr
=
ibgda_get_wqe_ptr
(
qp
,
base_wqe_idx
+
lane_id
);
auto
wqe_idx
=
base_wqe_idx
+
lane_id
;
auto
wqe_ptr
=
ibgda_get_wqe_ptr
(
qp
,
wqe_idx
);
ibgda_write_rdma_write_wqe
(
qp
,
my_laddr
,
my_lkey
,
my_raddr
,
my_rkey
,
my_chunk_size
,
ibgda_write_rdma_write_wqe
(
qp
,
my_laddr
,
my_lkey
,
my_raddr
,
my_rkey
,
my_chunk_size
,
base_
wqe_idx
,
&
wqe_ptr
);
wqe_idx
,
&
wqe_ptr
);
}
}
__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