Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cffi: typedef shmem_{ctx|team}_t as an opaque struct type #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Aug 1, 2023

  1. cffi: typedef shmem_{ctx|team}_t as an opaque struct type

    This allows for OpenSHMEM implementations declaring ctx/team types as
    either a pointer types or an integral types.
    
    Declaring `shmem_{ctx|team}_t` as an opaque struct type has an annoying
    side-effect: now ctx/team handles can no longer be compared for equality.
    Therefore, add a couple auxiliary functions `eq_{ctx|team}` to compare
    handles for equality. Additionally, in case we need them in the future,
    add functions to convert to/from integer values.
    dalcinl committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    ad7adec View commit details
    Browse the repository at this point in the history