Hi All?
I have a question about the qmath library function, Let me know if anyone knows.
As in the code below, a crash occurs in qm_vqf32_to_double in dynamic memory called tmp.
-------------------------------------
qm_vqf32_t a, b ,c;
//double c_d[32];
double *tmp = (double *)malloc(sizeof(double) * (int)dest->cols * (int)dest->rows);
a = qm_vqf32_from_double((double *) src1->mem);
b = qm_vqf32_from_double((double *) src2->mem);
c = qm_vqf32_mpy_inl(a, b);
qm_vqf32_to_double(c, tmp); --> crashed right here!
Does the destination memory of qm_vqf32_to_double not support dynamic memory? (changing it to a sized array seems fine)
Thanks for reading...