Rename ompt_frame_t to omp_frame_t, as defined in the spec.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
Do we really need this change?
I found a comment from John M-C at https://github.com/OpenMPToolsInterface/OpenMP-4.5-spec/commit/7bed0e0e6b96e0cfa6d964de2101c2172a0a47e7#commitcomment-24561958 (that commit replaced ompt_frame_t to omp_frame_t in the Spec):
This change needs to be reverted. We had originally planned to use omp_frame_t, but now are using ompt_frame_t because it turns out that we can't share the type: OMPD needs ompd_address_t instead of void * for the addresses.
runtime/src/include/50/ompt.h.var | ||
---|---|---|
302 ↗ | (On Diff #135233) | Add space before /* |
344 ↗ | (On Diff #135233) | Add space before /* |
As far as I know, the current implementation is very close to the specification in TR6.
Here we have a tiny diff between the spec and the implementation. I agree that we should not apply this patch if we will roll back the change in the spec.
So I propose to discuss this in the Tools WG first and then decide whether to apply the patch. I will schedule this for the next call.
Result of discussion in Tools WG was that the spec will keep omp_frame_t. I will submit this patch together with D43568