[PATCH] D91879: [Flang][OpenMP 4.5] Add semantic check for OpenMP Schedule Clause - chunk size

Kiran Chandramohan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 30 08:29:54 PST 2020


kiranchandramohan added inline comments.


================
Comment at: flang/test/Semantics/omp-schedule-teams01.f90:18
+  !ERROR: The value of chunk size in SCHEDULE clause must be the same for all threads.
+  !$omp  do schedule(static, 8)
+  do i = 1,N
----------------
I was thinking it is OK to have different chunk_sizes for different worksharing loops. Also, Generally there are implicit barriers after worksharing loops.
Did you check with a different fortran compiler or a c/c++ compiler?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D91879



More information about the llvm-commits mailing list