Update comments describing how OMPGridValues enums will be used in
clang, deviceRTLs, and hsa and cuda plugins.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
This can't be used in the libomptarget plugins or in the deviceRTL, as both are required to compile without the llvm sources available.
Current preferences appears to be to copy and paste the numbers between the two files. At the least, we should have a test outside of llvm & openmp trees that verifies the numbers are the same in each.
@jdoerfert can you remember who was strongly against #include between openmp and llvm? I'm failing to find the discussion, and the mail "Sharing enums between llvm and openmp" didn't reach a conclusion
What about if we put these gridvalues in OMPKinds.def (or OMP.td)?
Ultimately we need a common place to share content with clang, RTLs, and plugins.
Ultimately we need a common place to share content with clang, RTLs, and plugins.
That was my hope.