Skip to content

Add uint64 network atomic fetch-add for GLCI rocSHMEM compatibility #191

Open

Description

@JiakunYan

Goal

Add capability-gated 64-bit network atomic fetch-add/non-fetch add required by AMD-RAD/glci#53.

Scope

  • Add generic LCI network APIs for uint64 fetch-add and non-fetch add.
  • Implement IBV/CX7 using IBV_WR_ATOMIC_FETCH_AND_ADD.
  • Manage registered result/discard buffers and CQ/backlog accounting safely.
  • Add network capability reporting and explicit unsupported handling for other backends.
  • Preserve same-QP ordering with preceding RDMA writes.
  • Add focused two-rank IBV tests for fetch result, non-fetch result, alignment/error handling, and write-before-atomic ordering.

Acceptance

  • Existing LCI tests pass.
  • New IBV tests pass on CX7 hardware.
  • OFI/other backends build and report unsupported rather than silently emulating incorrect semantics.

Parent: AMD-RAD/glci#53

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions