This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Signal Processing with MALI 400 MP

Note: This was originally posted on 16th April 2012 at http://forums.arm.com

Hi, I would like to offload the main CPU from some heavy brute-force signal processing and use the GPU for that.

For example, multiplying an array of floats by a scalar, or doing multiply-accumulates like a += coef[i] * data[i];


I don't know if this is possible with the MALI 400, if I have to use Open GL ES or the shader or ?
That would be great if I could develop and test all my GPU algorithms on the PC instead of doing it on the device.

I know more and more people are talking about this (with some NVIDIA GPU).
Any information is welcome,  because I don't know where to start !
Parents
  • Note: This was originally posted on 16th April 2012 at http://forums.arm.com

    Hi,

    it sounds as though you are talking about General Purpose computing on the Graphical Processing Unit (GPGPU).

    Whilst the Mali-400 chip can do the maths you're talking about, the API it supports (OpenGL-ES) doesn't provide easy methods for getting the answers back to the CPU - the API is very much designed to assume the results are going to progress further down the graphics pipeline.

    For that reason, I don't think the Mali-400 will be a suitable platform for your investigations.

    However, the next generation of Mali is nearly here - the Mali-T600 series GPUs will additionally support another Khronos API, OpenCL. This API has been designed specifically for the kind of job you're discussing - doing calculations on the GPU.

    I'd recommend reading up on OpenCL - the Khronos website http://www.khronos.org/opencl/ will have some good info on the API.

    There's some blogs here and other info here, too:

    GPU Computing in Android? With ARM Mali-T604 & RenderScript Compute You Can!

    Arm Developer: Mali

    HTH, Pete
Reply
  • Note: This was originally posted on 16th April 2012 at http://forums.arm.com

    Hi,

    it sounds as though you are talking about General Purpose computing on the Graphical Processing Unit (GPGPU).

    Whilst the Mali-400 chip can do the maths you're talking about, the API it supports (OpenGL-ES) doesn't provide easy methods for getting the answers back to the CPU - the API is very much designed to assume the results are going to progress further down the graphics pipeline.

    For that reason, I don't think the Mali-400 will be a suitable platform for your investigations.

    However, the next generation of Mali is nearly here - the Mali-T600 series GPUs will additionally support another Khronos API, OpenCL. This API has been designed specifically for the kind of job you're discussing - doing calculations on the GPU.

    I'd recommend reading up on OpenCL - the Khronos website http://www.khronos.org/opencl/ will have some good info on the API.

    There's some blogs here and other info here, too:

    GPU Computing in Android? With ARM Mali-T604 & RenderScript Compute You Can!

    Arm Developer: Mali

    HTH, Pete
Children
No data