[flang-commits] [flang] Parallel runtime library design doc (PRIF) (PR #76088)

Brad Richardson via flang-commits flang-commits at lists.llvm.org
Mon Dec 23 17:55:48 PST 2024


everythingfunctional wrote:

We've just produced a new revision of this document, for those interested in reviewing a nicely formatted version, the following link provides a PDF:
https://doi.org/10.25344/S4CG6G

The changes from the previous revision are:

* Convert all instances of `c_intmax_t` to `c_int64_t`
* Replace `lbounds`, `ubounds`, `element_size` arguments in `prif_allocate_coarray` with `size_in_bytes`
* Specify definition of `prif_coarray_handle` to be a derived type with one member that is a pointer
* Add `prif_register_stop_callback`
* Remove `contiguous` attribute from argument `a` in collective subroutines
* Update argument list to `prif_co_reduce` to use `operation_wrapper` and add `cdata` argument
* Add `prif_co_max_character` and `prif_co_min_character`
* Constrain argument type for argument `a` to `prif_co_max`, `prif_co_min`, and `prif_co_sum`
* Add client note indicating that `prif_co_reduce` may be used to support other collective calls where `a` is not an interoperable type
* Clarify the semantics of derived types passed to `prif_co_broadcast`
* Add `prif_local_data_pointer`
* Prohibit overlap between source and destination memory regions in coarray access
* Numerous minor editorial changes throughout



https://github.com/llvm/llvm-project/pull/76088


More information about the flang-commits mailing list