Closed ronawho closed 3 months ago
@ronawho - Thanks for pointing this out. This is an old test, even though the context is relevant to some of the recent conversations related to asymmetric allocation proposal. As you pointed out, since this usage is currently leads to an undefined behavior, we decided to remove the test from the repo. Does that sound ok to you?
That works for me, thanks!
Resolved by #43
asym_alloc.c
callsshmem_malloc
with a differentsize
argument on each PE, which undefined behavior. The 1.5 spec forshmem_malloc
says:The test itself says:
This makes me wonder if the test could be opt-in since it's not standard compliant and is testing a specific implementation.
FWIW though I don't see this text about this semantic being supported in 1.1 The 1.1 spec for
shmalloc
says:And the 1.2 spec, which added
shmem_malloc
says:I'm probably just missing some history/context, but just reading the old specs quickly it's not obvious to me when this was legal.