Skip to content

Commit c9ecde7

Browse files
Update ggml/src/ggml-cuda/cpy.cu
Co-authored-by: Johannes Gäßler <[email protected]>
1 parent 241350a commit c9ecde7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ggml/src/ggml-cuda/cpy.cu

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ static __device__ void cpy_blck_f32_q8_0(const char * cxi, char * cdsti) {
8585
static __device__ void cpy_blck_q8_0_f32(const char * cxi, char * cdsti) {
8686
float * cdstf = (float *)(cdsti);
8787

88-
for (int j = 0; j < QK8_0; j+=2) {
88+
#pragma unroll
89+
for (int j = 0; j < QK8_0; j += 2) {
8990
float2 dq;
9091
dequantize_q8_0(cxi, 0, j, dq);
9192
*(cdstf + j) = dq.x;

0 commit comments

Comments
 (0)