[all-commits] [llvm/llvm-project] aec1f9: [Offload][OMPT][NFC] Add test for `host_op_id` con...

Jan André Reuter via All-commits all-commits at lists.llvm.org
Mon Sep 21 08:54:30 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aec1f9ce37aea8005a3b1a5d4acf4988d6487813
      https://github.com/llvm/llvm-project/commit/aec1f9ce37aea8005a3b1a5d4acf4988d6487813
  Author: Jan André Reuter <j.reuter at fz-juelich.de>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    A offload/test/ompt/host_op_id_emi.c

  Log Message:
  -----------
  [Offload][OMPT][NFC] Add test for `host_op_id` consistency (#201144)

Add test to ensure that `host_op_id` is correctly passed for external
monitoring interface callbacks. A set `host_op_id` during
`ompt_scope_begin` should show up during `ompt_scope_end`.

This catches cases like 2c8ca9679e85e466e8d7105027df322d03c45e3d, where
a nested `data_op` callback caused an incorrect `host_op_id` on the
outer `ompt_scope_end` event (fixed by
9de6f9e7c8d1faabf7e7e49ba49e6d6f3af21373).

---------

Signed-off-by: Jan André Reuter <j.reuter at fz-juelich.de>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list