Skip to content

Commit

Permalink
bugfix: GpuGiSTJoin didn't move up/down the join-depth correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
kaigai committed Jan 4, 2024
1 parent 30c6729 commit da184e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cuda_gpujoin.cu
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ execGpuJoinGiSTJoin(kern_context *kcxt,
return depth+1;
}

if (WARP_WRITE_POS(wp,depth) >= WARP_READ_POS(wp,depth) + warpSize)
if (WARP_WRITE_POS(wp,depth) >= WARP_READ_POS(wp,depth) + get_local_size())
{
/*
* Next depth already have warpSize or more pending tuples,
Expand Down

0 comments on commit da184e4

Please sign in to comment.