Skip to content

Commit 5bae9f9

Browse files
WIP
1 parent 0bcb8cb commit 5bae9f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ggml/src/ggml-cuda/fattn-tile.cu

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ static constexpr __device__ int fattn_tile_get_kq_stride_device(int D, int ncols
5454
return 64;
5555
case 128:
5656
#if defined(GCN) || defined(CDNA)
57-
return nvols <= 16 ? 64 : 32;
57+
return ncols <= 16 ? 64 : 32;
5858
#else
5959
return 64;
6060
#endif // defined(GCN) || defined(CDNA)
6161
case 256:
6262
#if defined(GCN) || defined(CDNA)
63-
return nvols <= 16 ? 64 : 32;
63+
return ncols <= 16 ? 64 : 32;
6464
#else
6565
return 64;
6666
#endif // defined(GCN) || defined(CDNA)

0 commit comments

Comments
 (0)