- Add two files, ompt-target.h and ompt-target.cpp, for OMPT-related types, global variables and classes. For each target-related callbacks, there is an associated wrapper class. The wrapper class is used to store parameters for callbacks, and the actual OMPT callbacks are invoked in the constructor/destructor using the predefined interfaces in the runtime.
- Initialize the bitmap and other global variables when initializing libomptarget (rtl.cpp).
Details
Details
- Reviewers
jdoerfert hbae protze.joachim
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Drive by
openmp/libomptarget/src/ompt-target.h | ||
---|---|---|
1 | These files lack license headers. Can someone please add them. |
These files lack license headers. Can someone please add them.