AMPI: store predefined ops and types per-process rather than per-rank10/4610/12
commit1f8cf51051de7b3f087ddda30df75dafd6d30296
authorSam White <white67@illinois.edu>
Mon, 24 Sep 2018 19:20:32 +0000 (24 14:20 -0500)
committerSam White <white67@illinois.edu>
Tue, 2 Oct 2018 18:51:12 +0000 (2 13:51 -0500)
treefe17486d9bdd5f55a9e1f30c7717147fdbe312c1
parentbc56455b3795e66b94c7a2de05747091f71ddda7
AMPI: store predefined ops and types per-process rather than per-rank

- Split storage of predefined ops and datatypes from user-defined ones,
  storing the predefined ones in static const arrays, in order to
  reduce memory overhead.

- Rename CkDDT_MAX_PRIMITIVE_TYPE and CkDDT_MAX_BASIC_TYPE to AMPI_*,
  and fix definition of BASIC type to include MPI_UB and MPI_LB.

Change-Id: I490a4c4d50e4fc1a1fb2c39314baa4b08640aa96
src/libs/ck-libs/ampi/ampi.C
src/libs/ck-libs/ampi/ampi.h
src/libs/ck-libs/ampi/ampiOneSided.C
src/libs/ck-libs/ampi/ampiimpl.h
src/libs/ck-libs/ampi/ddt.C
src/libs/ck-libs/ampi/ddt.h