Skip to content

Commit

Permalink
[OpenMP] Fix GCC build issues and restore "Additional APIs used by the
Browse files Browse the repository at this point in the history
MSVC compiler for loop collapse (rectangular and non-rectangular loops)"

Fixes a GCC build issue (unallowed typename keyword use) in and restores
https://reviews.llvm.org/D148393

Differential Revision: https://reviews.llvm.org/D149010
  • Loading branch information
natgla authored and Vadim Paretsky committed Apr 24, 2023
1 parent 8421c7a commit 5a15ca7
Show file tree
Hide file tree
Showing 4 changed files with 1,714 additions and 0 deletions.
1 change: 1 addition & 0 deletions openmp/runtime/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ else()
kmp_dispatch.cpp
kmp_lock.cpp
kmp_sched.cpp
kmp_collapse.cpp
)
if(WIN32)
# Windows specific files
Expand Down
3 changes: 3 additions & 0 deletions openmp/runtime/src/dllexports
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,9 @@ kmpc_set_disp_num_buffers 267
__kmpc_sections_init 289
__kmpc_next_section 290
__kmpc_end_sections 291
__kmpc_process_loop_nest_rectang 293
__kmpc_calc_original_ivs_rectang 295
__kmpc_for_collapsed_init 296
%endif

# User API entry points that have both lower- and upper- case versions for Fortran.
Expand Down

0 comments on commit 5a15ca7

Please sign in to comment.