Fix barrier bug

This commit is contained in:
felsabbagh3
2019-06-12 08:03:30 -07:00
parent 9cd8ee8579
commit b3256a7b7f

View File

@@ -125,7 +125,7 @@ void vx_wait_for_warps(unsigned num_wait)
unsigned num = 0;
while (num != num_wait)
{
num = 1;
num = 0;
for (int i = 0; i < 32; i++)
{
if (done[i] == 1)