This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320C6748: DSPF_sp_mat_mul_cplx

Part Number: TMS320C6748

Hi,    

   There are functions DSPF_sp_mat_mul_cplx (const float* x1, int r1, int c1, const float* x2, int c2, float* restrict y) in dsplib c674x 3_4_0_0; but r1, c1, c2 are multiple of 2, if r1, c1, c2 are not multiple of 2 What should I do?

  • Hi,

    I've notified the dsplib experts. They will post their feedback directly here.

    Best Regards,
    Yordan
  • We currently provide the optimized version of DSPLIB complex matrix multiply only for multiple of 2 as this allows us to use multple load and store operations to streamline the operation. If you are working with matrices that have dimensions that are not multiple of 2 then you can look at the natural C implementation of the same operation that doesn`t have these constraints.

    The code can be found in the file: dsplib_c66x_3_4_0_0\packages\ti\dsplib\src\DSPF_sp_mat_mul_cplx\c66\DSPF_sp_mat_mul_cplx_cn.c

    Regards,
    Rahul