[Openmp-commits] [PATCH] D157605: [OpenMP][OMPT] Fix `target enter data` callback ordering & reported device num

Michael Halkenhäuser via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Aug 16 10:59:34 PDT 2023


mhalk updated this revision to Diff 550810.
mhalk added a comment.

Change testcase to use EMI callbacks.

Discovered a possible segfault which triggers only when using EMI callbacks.
Caused by `target_task_data=(nil)` and seems to be fixed by this patch, too.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D157605/new/

https://reviews.llvm.org/D157605

Files:
  openmp/libomptarget/src/interface.cpp
  openmp/libomptarget/test/ompt/veccopy_data.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157605.550810.patch
Type: text/x-patch
Size: 8432 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20230816/1e9c17e5/attachment-0001.bin>


More information about the Openmp-commits mailing list