PHP alone is not able to use the GPU. This has recently been discussed in the list of developers of internal php components .
Keep in mind that GPUs outperform certain types of workloads while they are not so good for others. PHP could not really use GPU acceleration because the work it does is not really the best view for the GPU.
If you really want to play with HipHop and random high-performance material, you can start with Open Parallel . They worked with Intel technology called Threading Building Blocks and integrated it into HipHop, adding new features that can call back calls asynchronously, with outstanding results. There was great interest when they presented their work to the HipHop group .
However, there is no sign of CUDA support or any GPU support at all in HipHop . Honestly, HipHop is not suitable for most PHP users. If you are trying to squeeze performance out of code, you must profile it .
Charles
source share