================
@@ -58,6 +58,10 @@ struct ConfigurationEnvironmentTy {
   int32_t MinTeams = -1;
   int32_t MaxTeams = -1;
   int32_t ReductionDataSize = 0;
+  // Reserved slot; new codegen writes 0 (plugin sizes the teams-reduction
+  // buffer from NumBlocks[0] at launch), but a non-zero value from older
+  // binaries is still honored as a compile-time upper bound on the number
+  // of teams.
----------------
jdoerfert wrote:

I don't think this is accurate. ReductionBufferLength was never an upper bound 
on the number of teams. It was a way to limit the memory footprint of 
reductions. If we had more teams than slots, we used time sharing. Thus, the 
value given by older binaries should be meaningless at this point. Wdyt?

https://github.com/llvm/llvm-project/pull/195102
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to