[Openmp-commits] [openmp] [OpenMP][test][VE] Limit the number of threads to create (PR #65873)

Shilei Tian via Openmp-commits openmp-commits at lists.llvm.org
Sun Sep 10 06:58:55 PDT 2023


================
@@ -11,7 +11,12 @@
 // UNSUPPORTED: gcc
 
 // High parallelism increases our chances of detecting a lack of atomicity.
+#ifdef __ve__
+// VE's pthread_create supports 64 threads at a maximum.
----------------
shiltian wrote:

If that's the case, then you want to set the limit (such as `__kmp_sys_max_nth`) in `kmp.h` as well.

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


More information about the Openmp-commits mailing list