[Openmp-commits] [PATCH] D88149: [OpenMP][libomptarget] make omp_get_initial_device 5.1 compliant

George Rokos via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Sep 23 06:19:00 PDT 2020


grokos added inline comments.


================
Comment at: openmp/runtime/src/kmp.h:3879
 #define KMP_DEVICE_DEFAULT -1 // This is libomptarget's default device.
-#define KMP_HOST_DEVICE -10 // This is what it is in libomptarget, go figure.
 #define KMP_DEVICE_ALL -11 // This is libomptarget's "all devices".
----------------
So we can also remove the `HOST_DEVICE` macro from `openmp/libomptarget/include/omptarget.h:24`.


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

https://reviews.llvm.org/D88149



More information about the Openmp-commits mailing list