[Openmp-commits] [llvm] [openmp] [offload][ompt] Added lookup function for device callbacks (PR #110007)

Michael Halkenhäuser via Openmp-commits openmp-commits at lists.llvm.org
Thu Sep 26 08:15:24 PDT 2024


================
@@ -60,6 +60,23 @@
     macro(ompt_get_target_info)             \
     macro(ompt_get_num_devices)
 
+#define FOREACH_OMPT_DEVICE_INQUIRY_FN(macro) \
----------------
mhalk wrote:

Downstream examples (e.g. here I like this location way better):
https://github.com/ROCm/llvm-project/blob/amd-staging/offload/include/OmptCommonDefs.h#L26-L46

https://github.com/llvm/llvm-project/pull/110007


More information about the Openmp-commits mailing list