For some experiments, it would be good to have a serial version of the LOMP runtime, that reduces implementation complexity by running just all supported OpenMP in the main thread, while still providing the necessary callbacks that are emitted by the compiler.
Describe alternatives you've considered
The OpenMP API has a sub library that implements the OpenMP API runtime routines with single-thread semantics. But that library does not provide the entrypoints that an OpenMP compiler generates. Instead, it is meant to be a simple alternative if the compiler ignores the OpenMP directives and the developer does not want to remove the routine invocations.
Describe the solution you'd like
For some experiments, it would be good to have a serial version of the LOMP runtime, that reduces implementation complexity by running just all supported OpenMP in the main thread, while still providing the necessary callbacks that are emitted by the compiler.
Describe alternatives you've considered
The OpenMP API has a sub library that implements the OpenMP API runtime routines with single-thread semantics. But that library does not provide the entrypoints that an OpenMP compiler generates. Instead, it is meant to be a simple alternative if the compiler ignores the OpenMP directives and the developer does not want to remove the routine invocations.