[flang-commits] [flang] [llvm] [openmp] [OpenMP] [Flang] Add Fortran integer(kind=8) overloads for omp_lib APIs (PR #221451)

Michael Klemm via flang-commits flang-commits at lists.llvm.org
Mon Sep 7 02:05:40 PDT 2026


================
@@ -932,26 +1026,113 @@
             integer, intent(in) :: num_resources
             integer, intent(in) :: resources(*)
           end function omp_get_submemspace
+        end interface
 
 !         ***
 !         *** kmp_* entry points
 !         ***
 
+        interface kmp_set_stacksize
           subroutine kmp_set_stacksize(size) bind(c)
             use omp_lib_kinds
             integer (kind=omp_integer_kind), value :: size
           end subroutine kmp_set_stacksize
 
-          subroutine kmp_set_stacksize_s(size) bind(c)
-            use omp_lib_kinds
-            integer (kind=kmp_size_t_kind), value :: size
-          end subroutine kmp_set_stacksize_s
+          subroutine kmp_set_stacksize_8(size) bind(c)
----------------
mjklemm wrote:

This is the correct naming convention that I was referring to in the other comments.

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


More information about the flang-commits mailing list