AnsweredAssumed Answered

Local memory from OpenCL on imx6q

Question asked by Alexis Ballier on Oct 16, 2018
Latest reply on Oct 25, 2018 by Alexis Ballier

Is it possible to make use of the 1kB local memory from OpenCL on the imx6q ?

 

The i.MX Graphics User’s Guide states:

> if local memory type is CL_GLOBAL, the local memory is emulated using global memory

 

And that is exactly what I have here (with imx-gpu-viv_6.2.4.p1.6 drivers). Initial benchmarks show that there is no gain (or rather a performance loss) when trying to use local from OpenCL, and that the 1kB limit does not apply.

 

Is there some option to change the local memory type ? How is this cache used in the case local memory is emulated by global memory ?

Outcomes