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.

在DSP运行OpenCL需要做哪些工作?有编译过TI-OpenCL源码的大佬吗?

如题:

在DSP运行OpenCL需要做哪些工作?有编译过TI-OpenCL源码的大佬吗?

本人想在一个没有OpenCL环境的DSP中配置OpenCL环境,在github中找到了TI-OpenCL-master。但是在编译源码时遇到了以下问题

1、TI-LLVM目前难以git clone到

2、TI-OpenCL-master是在dsp中的驱动吗?或者ti-opencl-master是一个sdk?

请问有编译过opencl源码的大神吗?

  • 请问您用的是哪款DSP芯片?有看过下面的opencl文档吗?
    downloads.ti.com/.../intro.html
  • 您好,谢谢,我看过下面的文档。我的dsp是am57的昨天在论坛看见dsp的opencl驱动是/lib/firmware/目录下的dra7-dsp1-fw.xe66,请问哪里可以得到该源码。

  • dra7-dsp1-fw.xe66的文件名字是 "hard coded"不能改变,使用的时候需要把可执行文件Link到dra7-dsp1-fw.xe66来使用。 请参考下面SDK user guide的说明。

    The remoteproc driver is hard-coded to look for specific files when loading the DSP/M4. Here are the files it looks for:

    /lib/firmware/dra7-dsp1-fw.xe66
    /lib/firmware/dra7-dsp2-fw.xe66
    /lib/firmware/dra7-ipu1-fw.xem4
    /lib/firmware/dra7-ipu2-fw.xem4
    These are generally a soft link to the intended executable. So for example, let’s update the DSP1 executable on the target:

    root@am57xx-evm:~# cd /lib/firmware/
    root@am57xx-evm:/lib/firmware# rm dra7-dsp1-fw.xe66
    root@am57xx-evm:/lib/firmware# ln -s /home/root/ipc-starter/ex02_messageq/dsp1/bin/debug/server_dsp1.xe66 dra7-dsp1-fw.xe66

    software-dl.ti.com/.../index_how_to_guides.html