[Openmp-commits] [openmp] [OpenMP] Fix Taskgraph bugs (PR #136837)

Shilei Tian via Openmp-commits openmp-commits at lists.llvm.org
Thu Apr 24 06:33:40 PDT 2025


================
@@ -0,0 +1,60 @@
+// REQUIRES: ompx_taskgraph
+// RUN: %libomp-cxx-compile-and-run
+#include <omp.h>
+#include <cassert>
+#include <vector>
+
+#define TASKS_SIZE 12
+
+typedef struct ident {
+  void *dummy;
+} ident_t;
+
+#ifdef __cplusplus
----------------
shiltian wrote:

No need to use `#ifdef __cplusplus` since it is already `%libomp-cxx-compile-and-run`

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


More information about the Openmp-commits mailing list