================
@@ -283,6 +283,9 @@ Error NativeRecordReplayTy::recordDescImpl(
   uint32_t MaxThreads = UserThreads
                             ? std::min(UserThreads, Kernel.getMaxThreads())
                             : Kernel.getMaxThreads();
+  // Record a bound the launch fits in: generic mode runs a warp more than the
+  // program asked for, and replay has to be allowed the same block.
+  MaxThreads = std::max(MaxThreads, Instance.NumThreads);
----------------
lfmeadow wrote:

This PR introduced this problem, and it is now resolved the same way as the 
launch.

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

Reply via email to