Some types and callback signatures have changed from TR6 to TR7.
Major changes (only adding signatures and stubs):
(-remove idle callback) done by D48362
-add reduction and dispatch callback
-add get_task_memory and finalize_tool runtime entry points
-ompt_invoker_t becomes ompt_parallel_flag_t
-more types of sync_regions
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
runtime/src/kmp_csupport.cpp | ||
---|---|---|
2571 ↗ | (On Diff #160803) | hbae is right, the function call must be there, only the variable is ompt-specific. What you actually might do is leaving the declaration and assignment in the ifdef, but move the function call out. This should avoid compiler warnings on unused variable acquire_status |
2764 ↗ | (On Diff #160803) | You could do the same here, which will result in two separate ifdef blocks. |
runtime/src/kmp_csupport.cpp | ||
---|---|---|
2571 ↗ | (On Diff #160803) | Just comment, no suggestion for either solution: You can also do (void) acquire_status;. I think that's used a lot in Clang's source code and will also avoid the compiler warning. |