[flang-commits] [flang] [flang][OpenACC] Support acc routine info on ProcEntityDetails for separate compilation (PR #192367)

Eugene Epshteyn via flang-commits flang-commits at lists.llvm.org
Wed Apr 15 18:16:09 PDT 2026


================
@@ -0,0 +1,52 @@
+! Test that !$acc routine(name) with parallelism clauses for external
----------------
eugeneepshteyn wrote:

AI reviewer suggested to check the following test:
```
subroutine caller(a, n)
  integer, intent(in) :: n
  real, intent(inout) :: a(n)
  !$acc routine(foo) vector
  interface
    subroutine foo(a, n)
      integer, intent(in) :: n
      real, intent(inout) :: a(n)
    end subroutine
  end interface
  !$acc parallel loop gang
  do i = 1, 10
    call foo(a, n)
  end do
end subroutine
```

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


More information about the flang-commits mailing list