[clang] [openmp] [OpenMP] Fix runtime problem due wrong map size. (PR #74692)
Alexey Bataev via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 7 06:15:24 PST 2023
================
@@ -0,0 +1,23 @@
+// clang-format off
+// RUN: %libomptarget-compilexx-generic && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-generic 2>&1 | %fcheck-generic
+// clang-format on
+
+struct DataTy {
+ float a;
+ float b[2];
----------------
alexey-bataev wrote:
Could you change the size of the array to, say, 3 instead of 2? Required to check that we map the requested array section, not the whole array.
https://github.com/llvm/llvm-project/pull/74692
More information about the cfe-commits
mailing list