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.

[参考译文] RTOS/TMDSEVM6678:DSPLIB 运行不正常?

Guru**** 2931100 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/668749/rtos-tmdsevm6678-the-dsplib-is-not-running-properly

器件型号:TMDSEVM6678

工具/软件:TI-RTOS

#include
#include
#include

#define N 4.

float A[N * N]、b[N]、c[N]、res[N];

int main (void){
 int i;
 对于(I = 0;I < N * N;+I)
  A[i]= i + 1;
 对于(I = 0;I < N;+I){
  b[i]= i + i;
  C[i]= 0;
 }
 DSPF_sp_mat_mul_gemm (a、1、N、N、b、 1、分辨率);
 对于(I = 0;I < N;+I)
  printf ("%f\n"、res[i]);
 返回0;

我正在尝试将 DSPLIB 用于 C66x。

这只是上面的代码。 编译并单击"Debug"后、它会一直停留在 DSPF_sp_mat_mul_gemm 函数调用中。

我认为我的编译设置是可以的。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    检查 DSPF_sp_mat_mul_gem 的 DSPLIB 用户指南中的 API 参考。 dsplib_c66x_3_4_0_0/docs/doxygen/html/dsplib_html/group___d_s_p_f__sp__mat__mul__gemm.html

    以下是手册中的快照:

    我n`t 您 的配置符合优化函数的假设、因为 C1不是偶数。

    此致、

    Rahul