[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
Mon Sep 18 21:04:20 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:

Good to hear the test can pass after #66729. I'm more inclined to leave the test alone since we don't know what users can really do and the number looks totally reasonable from OpenMP's perspective. It is just our implementation can't handle it correctly.

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


More information about the Openmp-commits mailing list