oshmpi icon indicating copy to clipboard operation
oshmpi copied to clipboard

Misc: minimal support of profiling interface

Open minsii opened this issue 4 years ago • 0 comments

Similar to MPI profiling interface (PMPI), OpenSHMEM 1.5 defines pshmem_ wrapper and a query function shmem_pcontrol.

Starting point

  • Section 10 OpenSHMEM Profiling Interface in OpenSHMEM spec v1.5
  • Many type/size specific functions are generated at autogen.sh. Also see the template files (.tpl) under src/shmem. We may also autogenerate the pshmem_ wrapper.
  • configure.ac already detects USE_WEAK_SYMBOLS
  • Can reuse PMPI_ implementation.

TODO

  • [ ] Implementation of pshmem_ weak symbol for all functions
  • [ ] Implementation of shmem_pcontrol (NO-OP is fine)

minsii avatar Mar 03 '21 20:03 minsii