Closed jngkim closed 1 month ago
This looks good, but it might be better to use cmake to control omp options: https://cliutils.gitlab.io/modern-cmake/chapters/packages/OpenMP.html I expect you would still have to manually specify the target.
Few issues that have to be addressed:
We should check with our cmake team how we are planning to enable standard CXX + OMP.
When ENABLE_OMP_TARGET=ON, OpenMP interop initialize device list to share the context with SYCL.