[all-commits] [llvm/llvm-project] 667af4: [OpenMP] [OMPT] [1/8] Create separate categories f...

dhruvachak via All-commits all-commits at lists.llvm.org
Fri Sep 30 17:47:04 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 667af48179cdb581832fd9b06a8ab3ca2b4efd69
      https://github.com/llvm/llvm-project/commit/667af48179cdb581832fd9b06a8ab3ca2b4efd69
  Author: Dhruva Chakrabarti <Dhruva.Chakrabarti at amd.com>
  Date:   2022-10-01 (Sat, 01 Oct 2022)

  Changed paths:
    M openmp/runtime/src/include/omp-tools.h.var

  Log Message:
  -----------
  [OpenMP] [OMPT] [1/8] Create separate categories for host, device, [no]emi events

In preparation for OMPT target changes, create separate categories of events that will be used by OMPT target support.

Split up existing macro FOREACH_OMPT_EVENT into new ones. There is no change to the original macro. Created new macros FOREACH_OMPT_HOST_EVENT, FOREACH_OMPT_DEVICE_EVENT, FOREACH_OMPT_NOEMI_EVENT, FOREACH_OMPT_EMI_EVENT, and a few other sub-categories that can be used as required. One such use is in D123974 which uses events selectively.

Patch from John Mellor-Crummey <johnmc at rice.edu>

Reviewed By: dreachem

Differential Revision: https://reviews.llvm.org/D123429




More information about the All-commits mailing list