[flang-commits] [flang] [flang] Add support of THIS_IMAGE and NUM_IMAGES with PRIF (PR #154081)

Katherine Rasmussen via flang-commits flang-commits at lists.llvm.org
Mon Aug 18 16:52:07 PDT 2025


https://github.com/ktras commented:

Looks great! And I can confirm that flang built from this branch can build Caffeine and link against it when compiling a program with `num_images` and `this_image` calls. Here is some output I was able to get:

```
 Compiler version is flang version 22.0.0 (git at github.com:SiPearl/llvm-project.
 git 4ceb28b8fea237b281d5f831ec791897d7741c23)
 Hello world from image  3  of  4
 Hello world from image  1  of  4
 Hello world from image  2  of  4
 Hello world from image  4  of  4
 ```
 
 I had a question on one line of the test, so please check it out.

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


More information about the flang-commits mailing list