Skip to content

Commit cbf7412

Browse files
committed
fix potential race condition in patcher interior()
1 parent e664660 commit cbf7412

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/rxmesh/patcher/patcher_kernel.cuh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ __global__ static void interior(const uint32_t num_patches,
153153
s_queue_size = 0;
154154
}
155155

156+
__syncthreads();
157+
156158

157159
const uint32_t patch_id = blockIdx.x;
158160
const uint32_t p_start =

0 commit comments

Comments
 (0)