[flang-commits] [flang] Parallel runtime library design doc (PRIF) (PR #76088)
Jean-Didier PAILLEUX via flang-commits
flang-commits at lists.llvm.org
Mon Jan 27 02:41:18 PST 2025
JDPailleux wrote:
Hi,
We've been iterating from several month with Berkeley Lab team in order to have a working / satisfying prototype in LLVM to plug PRIF. I've starting to drop here https://github.com/SiPearl/llvm-project/tree/prif some commits. This is still WIP, and the goal is to retrieve feedbacks, so feel free to comments.
These commits include first versions for :
- INIT and STOP (only for the global finalization, not the intrinsic)
- THIS_IMAGE
- NUM_IMAGES
- Collectives : CO_SUM, CO_MIN, CO_MIN_CHARACTER, CO_MAX, CO_MAX_CHARACTER, CO_BROADCAST
- LCOBOUNDS, UCOBOUNDS and COSHAPE
- IMAGE_STATUS and FAIL_IMAGE
- Allocation
- FORM_TEAM, END TEAM, CHANGE TEAM, GET_TEAM, TEAM_NUMBER.
A start has been made on TEAM features and variables based on the TEAM_TYPE used by Flang. However, checks need to be carried out to see whether the lowering of arguments/variables of this type can be compatible between LLVM type and the type defined by PRIF.
To test it, simply build flang and a PRIF implementation (Caffeine) and run `flang -lcaffeine test.f90`.
https://github.com/llvm/llvm-project/pull/76088
More information about the flang-commits
mailing list