Wednesday, September 3, 2008

My Symmetric Processing Elements

I am trying to turn into a useful individual by learning more about programming for the Cell Broadband Engine. I installed openSUSE Linux 11.0 on my PS3 a few months ago and just last night was able to get some code running.

I followed the following guide:
http://www.ibm.com/developerworks/power/library/pa-linuxps3-1/?ca=dgr-lnxw03Linux-and-Playstation3

Everthing compiled okay, but I kept getting the error "spu_create(): Function not implemented". The fix was to mount the spufs. Contrary to the spufs(7) man page, this was actually done by adding the following to /etc/fstab

none    /spu    spufs   default    0 0

I will still probably need to add the spufs kernel module to /etc/modules so that it is always loaded upon boot.