Skip to content

Commit d150c7e

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

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

ggml/src/ggml-cuda/dmmv.cu

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -480,10 +480,7 @@ static __global__ void dequantize_mul_mat_vec(const void * __restrict__ vx, cons
480480
if ( y_offset == 1 ) {
481481
// load 2 dfloats into register in a single instruction
482482
const dfloat2 y_reg = *((dfloat2 *) &(y[iybs + iqs + j/qr]));
483-
tmp += __hmul2(v, {
484-
y_reg.x;
485-
y_reg.y;
486-
});
483+
tmp += __hmul2(v, y_reg);
487484
}
488485
else {
489486
tmp += __hmul2(v, {

0 commit comments

Comments
 (0)