Skip to content

Commit

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

Fixes a GCC build issue (an instance of unallowed typename keyword) and reworks memory allocation
to avoid the use of C++ library based primitives ) in and restores the earlier commit https://reviews.llvm.org/D148393

Differential Revision: https://reviews.llvm.org/D149010
  • Loading branch information
Vadim Paretsky committed May 12, 2023
1 parent edd0981 commit 3665e2b
Show file tree
Hide file tree
Showing 4 changed files with 1,727 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 3665e2b

Please sign in to comment.