[Openmp-commits] [openmp] [WIP] [OpenMP] Add unit tests for nextgen plugins (PR #74398)

Johannes Doerfert via Openmp-commits openmp-commits at lists.llvm.org
Tue Dec 5 07:15:37 PST 2023


================
@@ -0,0 +1,146 @@
+#include "Shared/PluginAPI.h"
+#include "omptarget.h"
+#include "gtest/gtest.h"
+
+const int DEVICE_ID = 0, DEVICE_TWO = 1;
----------------
jdoerfert wrote:

In a follow up we should iterate over all devices, not hardcode 2.

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


More information about the Openmp-commits mailing list