[Openmp-commits] [llvm] [openmp] [Offload][OMPT] Properly implement `ompt_get_target_info` (PR #202392)
Jan André Reuter via Openmp-commits
openmp-commits at lists.llvm.org
Thu Jul 2 02:50:08 PDT 2026
================
@@ -77,6 +78,20 @@ static uint64_t createRegionId() {
return NewId;
}
+static int ompt_get_target_info_impl(uint64_t *DeviceNum, ompt_id_t *TargetId,
+ ompt_id_t *HostOpId) {
+ if (RegionInterface.getTargetDataValue() == ompt_id_none)
----------------
Thyre wrote:
Correct... maybe it's worth waiting for that PR then, since using this information is certainly more reliable than data set by the tool.
https://github.com/llvm/llvm-project/pull/202392
More information about the Openmp-commits
mailing list