First "public" crack at serializable_view
john bachan (approved)
Branch: jdbachan/upcxx-jdbachan:serializable_view
Branch: berkeleylab/upcxx:develop
Merged
Merged pull request
Enriched test/view.cpp to test that rpc_ff's may return futures
Enriched test/view.cpp to test that rpc_ff's may return futures
packing<T>
got overhauled to accommodate asymmetric types.New public API members: serializable_view, serializable_view_of, deserializing_iterator, deserializing_iterator_of. (names may conflict with spec PR since these reflect my outstanding comments)
Where I went beyond the spec PR: the buffer under the serializable_view lives until the future returned by the rpc is ready. Works for rpc_ff too since I look for returned futures there too.
There was a bug in
upcxx::progress
in the SEQ backend when being called by *the wrong thread*, fixed it.