Skip to content

Commit d676ef9

Browse files
committed
Revert "CUDA: fix race condition in FA vector kernels (ggml-org#13742)"
This reverts commit ffd0eae.
1 parent 170ae0f commit d676ef9

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

ggml/src/ggml-cuda/fattn-vec-f16.cuh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@ static __global__ void flash_attn_vec_ext_f16(
212212
}
213213
}
214214
if (__all_sync(0xFFFFFFFF, skip)) {
215-
__syncthreads();
216215
continue;
217216
}
218217
#endif // GGML_USE_HIP

ggml/src/ggml-cuda/fattn-vec-f32.cuh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,6 @@ static __global__ void flash_attn_vec_ext_f32(
217217
}
218218
}
219219
if (__all_sync(0xFFFFFFFF, skip)) {
220-
__syncthreads();
221220
continue;
222221
}
223222
#endif // GGML_USE_HIP

0 commit comments

Comments
 (0)