[Bug target/104916] [nvptx] Handle Independent Thread Scheduling for sm_70+ with -muniform-simt
vries at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Mar 15 11:17:09 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104916
--- Comment #3 from Tom de Vries <vries at gcc dot gnu.org> ---
Anyway, having reread the volta architecture whitepaper again, I think it's ok
to use the solution I already found that does work (see PR104783): add a warp
sync at simt exit.
The tricky bit is that we rely on the warps to stay uniform after that warp
sync until the next simt region entry. Which AFAICT is not something enforced
by specification, but rather by a assuming that the 'Convergence optimizer' has
a sane implementation.
More information about the Gcc-bugs
mailing list