Skip to content

Commit

Permalink
fix stride of src1
Browse files Browse the repository at this point in the history
  • Loading branch information
luoyu-intel committed Jul 18, 2024
1 parent 85a1c12 commit 3e67a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ggml/src/ggml-sycl/dmmv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1113,7 +1113,7 @@ void ggml_sycl_op_dequantize_mul_mat_vec(
char *src0_test_ptr = src0_test.alloc(ggml_nbytes(src0));
for (int i = 0; i < src1_ncols; i++)
{
const dfloat* src1_dfloat_bs = src1_dfloat + i * src1_padded_col_size;
const dfloat* src1_dfloat_bs = src1_dfloat + i * ne00;
float* dst_dd_i_bs = dst_dd_i + i * dst->ne[0];
switch (src0->type) {
case GGML_TYPE_Q4_0:
Expand Down

0 comments on commit 3e67a42

Please sign in to comment.