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.

AM5708: AM5708的DSP的本地内存空间L2SRAM分配问题

Part Number: AM5708
TI工程师:
   您好! 请问使用DSP运行OPENCL时,如果核函数中本地内存分配的空间超过了dsp.syms中预分配的L2SRAM空间大小,我可以修改L2SRAM的大小吗?AM5708M默认的这个大小为128KB。我在Linux系统下的SDK开发包中,找到dsp.syms文件,然后修改这个大小,把128KB改为1MB,发现并不能生效。所以我想问一下L2SRAM的大小是否可以修改?如果可以修改,还要修改Linux开发包中的哪些文件,以及如何操作才能生效?虽然我认为这个大小应该不能修改,但为了证实一下,还是期待您的回复。
  • AM5708片上L2 RAM的大小是288K,请看一下数据手册上的说明。
    A 288-KiB (program and data) L2 memory, only part of which is cacheable:
    • When configured as a cache, the L2 memory is a 4-way set associative cache with a 128-byte cache line
    • Only 256 KiB of L2 memory can be configured as cache or SRAM
    • 32 KiB of the L2 memory is always mapped as SRAM
    • The L2 memory controller has an Error Correction Code (ECC) and ED mechanism, including necessary SRAM
    • The L2 memory controller supports hardware prefetching and also provides bandwidth management, memory protection, and power-down functions.
    • Page size for L2 memory is 16KB

    AM570x SitaraTm 处理器 datasheet (Rev. F) (ti.com.cn)