HPX

PrevUpHomeNext

C++ Co-Arrays

Preface : Co-array, a segmented container tied to a SPMD Multidimensionnal View
Using Co-Arrays

Fortran has extended its scalar element indexing approach to reference each segment of a distributed array. In this extension, a segment is attributed a ?co-index? and lives in a specific locality. A co-index provides the application with enough information to retrieve the corresponding data reference. In C++, containers present themselves as a ?smarter? alternative of Fortran arrays but there are still no corresponding standardized features similar to the Fortran co-indexing approach. We present here an implementation of such features in HPX.


PrevUpHomeNext