This patch adds a feature to print information whenever the host-device pointer
mapping table is changed by inserting or removing an entry. This introduces a
new bit field for LIBOMPTARGET_INFO at position 0x8.
Details
Details
- Reviewers
jdoerfert - Commits
- rG83d4b2e2e082: [OpenMP] Add info for device table changes
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
openmp/libomptarget/src/device.cpp | ||
---|---|---|
267–271 | Do you really want to use OMP_INFOTYPE_ALL here? Upon removal of elements, we use OMP_INFOTYPE_CHANGED. |
openmp/libomptarget/src/device.cpp | ||
---|---|---|
267–271 | Thanks for catching that, I had an if statement there before but I removed it and forgot to change that part back. |
Do you really want to use OMP_INFOTYPE_ALL here? Upon removal of elements, we use OMP_INFOTYPE_CHANGED.