| 4779 | // src0 and dst are viewed with shape of src1 and offset |
| 4780 | // => same indices |
| 4781 | const int i3 = ir/(ne12*ne11); |
| 4782 | const int i2 = (ir - i3*ne12*ne11)/ne11; |
| 4783 | const int i1 = (ir - i3*ne12*ne11 - i2*ne11); |
| 4784 | |
| 4785 | ggml_vec_cpy_i32(nc, |
| 4786 | (int32_t *) ((char *) dst->data + i3*nb3 + i2*nb2 + i1*nb1 + offset), |
| 4787 | (int32_t *) ((char *) src1->data + i3*nb13 + i2*nb12 + i1*nb11)); |
| 4788 | } |
no test coverage detected