Skip to content

Conversation

@minsii
Copy link
Contributor

@minsii minsii commented Feb 1, 2026

Summary:
Move CtranKernelAllReduceArgs and CtranKernElemRole from gpe/CtranGpeDev.h to
algos/AllReduce/Types.h as ctran::allreduce::KernelArgs and KernElemRole.
Part of KernelElem cleanup Phase 1.

Naming follows the convention:

  • Remove "Ctran" prefix
  • Keep "Kernel"/"KernElem" prefix
  • Omit algorithm name since namespace provides context

Differential Revision: D91983714

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Feb 1, 2026
@meta-codesync
Copy link

meta-codesync bot commented Feb 1, 2026

@minsii has exported this pull request. If you are a Meta employee, you can view the originating Diff in D91983714.

Summary:

Move CtranKernelSendArgs, CtranKernelRecvArgs, and CtranKernelSendRecvArgs from
gpe/CtranGpeDev.h to algos/SendRecv/Types.h as ctran::sendrecv::KernelSendArgs,
KernelRecvArgs, and KernelSendRecvArgs respectively.

Part of KernelElem cleanup Phase 1.

Naming follows the convention:
- Remove "Ctran" prefix
- Keep "Kernel" prefix
- Keep "Send/Recv/SendRecv" suffix since they're distinct types

Reviewed By: elvinlife

Differential Revision: D91983715
Summary:
Move CtranKernelAllGatherArgs from gpe/CtranGpeDev.h to algos/AllGather/Types.h
as ctran::allgather::KernelArgs. Part of KernelElem cleanup Phase 1.

Naming follows the convention:
- Remove "Ctran" prefix
- Keep "Kernel" prefix
- Omit algorithm name since namespace provides context

Reviewed By: mlunar-meta

Differential Revision: D91983718
Summary:

Move CtranKernelBroadcastArgs from gpe/CtranGpeDev.h to algos/Broadcast/Types.h
as ctran::broadcast::KernelArgs. Part of KernelElem cleanup Phase 1.

Naming follows the convention:
- Remove "Ctran" prefix
- Keep "Kernel" prefix
- Omit algorithm name since namespace provides context

Reviewed By: elvinlife

Differential Revision: D91983717
Summary:

Move CtranKernelReduceScatterArgs from gpe/CtranGpeDev.h to
algos/ReduceScatter/Types.h as ctran::reducescatter::KernelArgs.
Part of KernelElem cleanup Phase 1.

Naming follows the convention:
- Remove "Ctran" prefix
- Keep "Kernel" prefix
- Omit algorithm name since namespace provides context

Reviewed By: elvinlife

Differential Revision: D91983712
Summary:

Move CtranKernelAllReduceArgs and CtranKernElemRole from gpe/CtranGpeDev.h to
algos/AllReduce/Types.h as ctran::allreduce::KernelArgs and KernElemRole.
Part of KernelElem cleanup Phase 1.

Naming follows the convention:
- Remove "Ctran" prefix
- Keep "Kernel"/"KernElem" prefix
- Omit algorithm name since namespace provides context

Reviewed By: dsjohns2

Differential Revision: D91983714
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant