[Openmp-commits] [openmp] [OpenMP][DeviceRTL] implemented nteams-var ICV, omp_get_max_teams(), and omp_set_num_teams() (PR #71259)

Johannes Doerfert via Openmp-commits openmp-commits at lists.llvm.org
Mon Dec 4 11:09:24 PST 2023


================
@@ -0,0 +1,57 @@
+// Test functionality of omp_get_max_teams() with setting
+// environment variable to 2 GPU devices. If there's only
+// one GPU device, remove the device 1 if statement.
+
+// RUN: %libomptarget-compile-generic -fopenmp-offload-mandatory
+// RUN: env OMP_NUM_TEAMS_DEV_0=5 OMP_NUM_TEAMS_DEV_1=-1 \
----------------
jdoerfert wrote:

no negative numbers.

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


More information about the Openmp-commits mailing list