I am using my Pi2 to run some Python scripts that are heavily use the CSI camera (being pulled with the picamera module), being processed with OpenCV, and draw a GUI to screen (using the PyGame module)
I would like to improve the speed/performance in these areas, which is why I plan to split my memory (giving more to the GPU), but before I do this, I wondered how much of my code is likely to actually be processed by the GPU.
I understand the GPU is for all graphic tasks, however the code that performs these tasks run concurrently and are presumably being processed originally by the CPU? and with regards to pulling frames from the CSI camera, I have no idea if this would be a task for the GPU or not?
So I suppose my question is, in these two areas, is it worth putting all my eggs in the GPU basket, or just going for a even split?