Cell Programming IBM

From PS3 Developer wiki
Jump to navigation Jump to search

Programming Frameworks[edit | edit source]

Cell eclipse sdk systemsim.jpg
example

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[edit | edit source]

Cell SDK 3.1[edit | edit source]



Cell SystemSim[edit | edit source]

note: The IBM Full-System Simulator has been removed from the SDK package, and is now available separately. To obtain the Simulator, download it from the following alphaWorks Web site: http://www.alphaworks.ibm.com/tech/cellsystemsim working latest mirror

Compilers[edit | edit source]

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

Documentation[edit | edit source]

Further Info[edit | edit source]

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

Project OpenCLit - Cluster Computing with the PS3 : http://portal.gitbrew.org/wikibrew/PS3:OpenCLit

Tutorials[edit | edit source]

  • Cell Programming Tutorial - IBM
    • 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[edit | edit source]



Hypervisor[edit | edit source]

Research hypervisor (rhype):

Secure hypervisor(shype):