parallel-runtimes / lomp

Little OpenMP Library
Apache License 2.0
153 stars 17 forks source link

Implement the OpenMP 5.1 features used by LLVM #39

Open JimCownie opened 3 years ago

JimCownie commented 3 years ago

Is your feature request related to a problem? Please describe. LLVM has introduced some new interface functions to support OpenMP 5.1 features. There are at least these new interfaces which replace older ones

__kmp_push_num_teams_51 runtime/src/kmp.h runtime/src/{kmp_csupport,kmp_runtime}.cpp
__kmpc_parallel_51 libomptarget/deviceRTLs/interface.h libomptarget/DeviceRTL/src/Parallelism.cpp
__kmpc_push_num_teams_51 runtime/src/kmp.h runtime/test/teams/kmp_num_teams.c runtime/src/kmp_csupport.cpp

As well as additional new interfaces to support new language features (e.g.these for masked)

__kmpc_end_masked runtime/src/kmp.h runtime/src/kmp_csupport.cpp
__kmpc_masked  runtime/src/kmp.h runtime/src/kmp_csupport.cpp

Describe the solution you'd like LOMP should support these interfaces.