Cell Programming IBM

From PS3 Developer wiki
Revision as of 21:59, 28 May 2011 by Euss (talk | contribs) (Created page with "==Programming Frameworks== [http://www.ibm.com/developerworks/cn/linux/l-cn-cellprogramming/index.htm example screenshots] Currently there are two programming frameworks to use...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Programming Frameworks

example screenshots

Currently there are two programming frameworks to use (we don't intend to talk about © Sony SDK nor about the free community driven psl1ght on this page). The Cell SDK is the most full featured and "supported" but is architecture specific, whereas the OpenCL should allow code portability to other accelerators (like GP-GPU's) however is from IBM alphaworks so should be considered beta.

Cell SDK 3.0:


Cell SDK 3.1

  • SDK 3.1 Installer : cell-install-3.1.0-0.0.noarch.rpm (11MB)
  • SDK 3.1 Developer package ISO image for Fedora 9 : CellSDK-Devel-Fedora_3.1.0.0.0.iso (434MB)
  • IBM SDK for Multicore Acceleration Extras for Fedora 9
  • SDK 3.1 Extras package ISO image for Fedora 9 : CellSDK-Extras-Fedora_3.1.0.0.0.iso (34MB)
  • v3.1 README Fedora 9


Compilers

  • ppu-gcc -- GNU GCC PPC compiler
  • spu-gcc -- GNU GCC SPU compiler
  • xlcl -- IBM XL OpenCL compiler


Documentation


Further Info

Even more docs http://moss.csc.ncsu.edu/~mueller/cluster/ps3/


Tutorials

  • Cell Programming Tutorial - IBM (5in1; mirror: http://rapidshare.com/files/416223029/cell.zip mirror: http://ul.to/39b2fq mirror: http://www.megaupload.com/?d=0BWIWG1N)
    • part1 - Summary: Meet the Cell Broadband Engine™ (Cell BE) processor from a compiler-writer's perspective, and get a bird's-eye view of a number of the unique challenges it poses in this first tutorial of a five-part series.
    • part2 - Summary: This tutorial discusses specific issues in optimizing code to run effectively on the Synergistic Processor Elements (SPEs) in the Cell Broadband Engine™ (Cell BE) processor.
    • part3 - Summary: This tutorial discusses the compiler issues in optimizing code to run efficiently on SIMD-capable processors. In particular, it shows how to optimize code that must run both on the VMX SIMD engine of the PowerPC® core of the Cell Broadband Engine (Cell BE) processor, and also on the SIMD-only Synergistic Processor Elements (SPEs).
    • part4 - Summary: This part discusses ways to partition code to run across the multiple cores available in a Cell Broadband Engine™ (Cell BE) processor. It gives particular attention to efficient partitioning of code to allow larger programs or data sets to be manipulated using the 256KB of local store available on the Synergistic Processor Elements (SPEs).
    • part5 - Summary: This last tutorial discusses techniques for managing data in the local store of the Synergistic Processor Elements (SPEs) of a Cell Broadband Engine (Cell BE) processor. Learn particular techniques such as double-buffering and maintaining a reasonably efficient software cache.


PowerPC Assembly