I know there was a post about this and I wanted to add this to the thread, but no way to find the original post so...
After removing the cell sdk-3.0 (installed under ydl-6.0) and installing the cell sdk-3.1 under ydl-6.1, I downloaded a couple of the cellbuzz apps from here
http://sourceforge.net/projects/cellbuzz,
Cell Broadband Engine Processor optimized libraries and software from Georgia Tech, for a number of libraries for FFT, MPEG, compression, and encryption. This project also includes patches to accelerate R on the Cell Broadband Engine processor.
The trick to compiling the apps (zlib in this case) seems to be :
$ export CELL_TOP=/opt/cell/sdk
$ make
Then from the build directory:
- Code: Select all
$ echo $PWD
~/source/cellbuzz-zlib-2.0
$ example/ppu/minigzip ~/compact_flash
$ ls ~/compact_flash*
~/compact_flash.gz
..and, as some kind of a test:
- Code: Select all
$ time example/ppu/minigzip ~/source/CellSDK-Devel-RHEL_3.0.0.1.0.iso
real 0m10.662s
user 0m0.192s
sys 0m3.327s
$ time gzip ~/source/CellSDK-Devel-RHEL_3.0.0.1.0.iso
real 0m34.130s
user 0m28.311s
sys 0m2.767s