File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1189,9 +1189,11 @@ void mul_vec_q_n_f32_impl(
11891189 // device const block_q_type * x = (device const block_q_type *) ((device char *) src0 + offset0);
11901190 device const float * y = (device const float *) ((device char *) src1 + offset1);
11911191
1192+ // pointers to src0 rows
11921193 device const block_q_type * ax[nr];
11931194 for (int row = 0 ; row < nr; ++row) {
11941195 const uint offset0 = (first_row + row)*nb01 + (i12/r2)*nb02 + (i13/r3)*nb03;
1196+
11951197 ax[row] = (device const block_q_type *) ((device char *) src0 + offset0);
11961198 }
11971199
@@ -1389,9 +1391,11 @@ void kernel_mul_mv_q8_0_f32_impl(
13891391 // device const block_q8_0 * x = (device const block_q8_0 *) ((device char *) src0 + offset0);
13901392 device const float * y = (device const float *) ((device char *) src1 + offset1);
13911393
1394+ // pointers to src0 rows
13921395 device const block_q8_0 * ax[nr];
13931396 for (int row = 0 ; row < nr; ++row) {
13941397 const uint offset0 = (first_row + row)*nb01 + (i12/r2)*nb02 + (i13/r3)*nb03;
1398+
13951399 ax[row] = (device const block_q8_0 *) ((device char *) src0 + offset0);
13961400 }
13971401
You can’t perform that action at this time.
0 commit comments