Skip to content

shmem_wait_until_all[_vector] implementation looks wrong #11

Description

@dalcinl

I cannot make sense of the implementation of shmem_wait_until_all[_vector]().
https://github.com/openshmem-org/osss-ucx/blob/main/src/shmemc/ucx/waituntil.c#L221

  • if nelems > 0 and all entries of status are nonzero, then the routine it will loop forever and deadlock.
  • With only one of the ivars entries passing the test, eventually you will get n == nelems and the busy loop finishes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions