Open devreal opened 2 weeks ago
Will look into it (can't assign myself for some reason)
@MamziB Any reason those functions should return size_t instead of int?
Otherwise, I will change those to return int
to match other places where rc
is returned.
Current git main shows a bunch of warnings in oshmem, coming from the the
RUNTIME_CHECK_IMPL_RC
macro:For
x
assize_t
this check is dropped by the compiler, since x can never be smaller than -1 (size_t
being unsigned).There are functions that return
size_t
but the returned error value is an error (a negative value), e.g.,Not sure how that is supposed to work...