mirror of
https://github.com/deepseek-ai/DeepEP.git
synced 2026-11-05 00:47:32 +00:00
[GH-ISSUE #308] ibgda_poll_cq get cqe method #218
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/DeepEP#218
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nope8 on GitHub (Jul 16, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepEP/issues/308
Hello,
I can't figure out why always get CQE from cq->cqe which is cq buffer head, not get CQE by cq->cqe + cons_idx.
Does anyone can help me understand this? Thank you very much!
https://github.com/deepseek-ai/DeepEP/blob/main/csrc/kernels/ibgda_device.cuh:472
@nope8 commented on GitHub (Jul 16, 2025):
I find the answer, because the cq is created with attribute collapsed flag when call ibgda_create_cq function in ibgda.cpp , which means all CQE are writen collapsed to first CQ entry.
nvshmem_src\src\modules\transport\ibgda\ibgda.cpp:
int ibgda_create_cq(struct ibgda_cq **pgcq, struct ibgda_device *device)
{
}