Closed jdinan closed 4 years ago
I appreciate that this may not fit exactly into section committee work, but it would be great to have this very minor change in OpenSHMEM 1.5 (enabling standard and generic interfaces to support additional types), versus waiting until OpenSHMEM 1.6.
Issue
OpenSHMEM places a strong restriction on interfaces defined in shmem.h:
Implementations that want to extend OpenSHMEM with support for additional types must prefix these functions with
shmemx_
and include their definition inshmemx.h
. This is confusing for users (shmem_int_p
vsshmemx_float2_p
) and it prevents implementations from supporting these types in C11 generic selection interfaces.Proposed Solution
Provide an exception for type-only extensions to existing OpenSHMEM routines: