Skip to content

[Feature Request] Barrier and memory fence operations #6

@chengyupku

Description

@chengyupku
  1. Implement a barrier mechanism and support efficient barrier operations, including:
  • T.create_barrier(num_arrive=num_arrive)
  • T.arrive(barrier)
  • T.wait(barrier)
  • T.sync(barrier)

so that it can be used to do p2p synchronization or group synchronization.

  1. Implement memory fence to ensure correct memory ordering and access semantics.

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