[Openmp-commits] [PATCH] D146642: [OpenMP] Implement task record and replay mechanism

Rafael Herrera via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Apr 12 19:42:03 PDT 2023


randreshg added inline comments.


================
Comment at: openmp/runtime/test/tasking/omp_record_replay.cpp:21
+void func(int *num_exec) {
+  (*num_exec)++;
+}
----------------
I think the test will fail if you don't guarantee that this line will be executed atomically.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146642



More information about the Openmp-commits mailing list