Skip to content

Commit 8583552

Browse files
Apply suggestion from @JohannesGaessler
Co-authored-by: Johannes Gäßler <[email protected]>
1 parent 9494833 commit 8583552

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/src/ggml-cuda/pad_reflect_1d.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ static __global__ void pad_reflect_1d_kernel_f32(
2828
const int64_t tile0 = div_mod_packed.x; // nth i0 tile
2929
const int64_t i1 = tile1;
3030
const int64_t i0 = threadIdx.x + tile0 * blockDim.x;
31-
if ( i0 >= ne0 || i1 >= ne01 || i2 >= ne02 || i3 >= ne03 ) {
31+
if (i0 >= ne0 || i1 >= ne01 || i2 >= ne02 || i3 >= ne03) {
3232
return;
3333
}
3434

0 commit comments

Comments
 (0)