[Openmp-commits] [openmp] [OpenMP][DeviceRTL] Added omp_get_max_teams() on device (PR #67867)

Shilei Tian via Openmp-commits openmp-commits at lists.llvm.org
Sat Sep 30 13:10:18 PDT 2023


================
@@ -202,6 +204,7 @@ void state::ICVStateTy::assertEqual(const ICVStateTy &Other) const {
 
 void state::TeamStateTy::init(bool IsSPMD) {
   ICVState.NThreadsVar = 0;
+  ICVState.NTeamsVar = 0;
----------------
shiltian wrote:

If that is the case, do we need to put it into team state?

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


More information about the Openmp-commits mailing list