Consider adding {rput,rget}_strided overloads for std::mdspan

Issue #207 new
Dan Bonachea created an issue

C++ 23 has finally added std::mdspan.

This task is to explore whether/how to provide overloads for strided RMA that accept mdspan input(s). Based on my understanding an mdspan argument can at least replace the current arguments corresponding to local-side base pointer, local-side strides and extents.

It's less clear whether mdspan can/should be used to conveniently represent remote-side striding information. That would likely require providing an mdspan AccessorPolicy encapsulating a upcxx::global_ptr<T>, which might be more trouble than it's worth to implement/use.

Deliberately set to a future milestone, as this is a forward-looking task.

Comments (0)

  1. Log in to comment