Programming the Cell Processor and over 2 million other books are available for Amazon Kindle . Learn more


or
Sign in to turn on 1-Click ordering.
Trade in Yours
For a £0.25 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Colour:
Image not available

 
Start reading Programming the Cell Processor on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Programming the Cell Processor: For Games, Graphics, and Computation [Hardcover]

Matthew Scarpino
5.0 out of 5 stars  See all reviews (3 customer reviews)
RRP: £47.99
Price: £41.33 & FREE Delivery in the UK. Details
You Save: £6.66 (14%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 1 left in stock (more on the way).
Dispatched from and sold by Amazon. Gift-wrap available.

Formats

Amazon Price New from Used from
Kindle Edition £37.28  
Hardcover £41.33  
Trade In this Item for up to £0.25
Trade in Programming the Cell Processor: For Games, Graphics, and Computation for an Amazon Gift Card of up to £0.25, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Learn more

Book Description

14 Oct 2008 0136008860 978-0136008866 1

Make the Most of IBM’s Breakthrough Cell Processor in Any Gaming, Graphics, or Scientific Application

 

IBM’s Cell processor delivers truly stunning computational power: enough to satisfy even the most demanding gamers and graphics developers. That’s why Sony chose the Cell to drive its breakthrough PlayStation 3 and why Cell processors are at the heart of today’s most powerful supercomputers. But many developers have struggled to create high-performance Cell applications: the practical, coherent information they need simply hasn’t existed.

 

Programming the Cell Processor solves that problem once and for all. Whether you’re a game developer, graphics programmer, or engineer, Matthew Scarpino shows you how to create applications that leverage all the Cell’s extraordinary power. Scarpino covers everything from the Cell’s advanced architecture to its powerful tools and libraries, presenting realistic code examples that help you gain an increasingly deep and intuitive understanding of Cell development.

 

Scarpino illuminates each of the Cell’s most important technical innovations, introduces the commands needed to access its power, and walks you through the entire development process, including compiling, linking, debugging, and simulating code. He also offers start-to-finish case studies for three especially important Cell applications: games, graphics, and scientific computing. The Cell platform offers unprecedented potential, and this book will help you make the most of it.

 

  • Mastering the Cell SDK, including the GCC-based buildchain, ppu-gdb/spu-gdb debuggers, IBM Full System Simulator, and Cell IDE
  • Understanding the Cell’s central processing core, the PowerPC Processor Unit (PPU): structure, programming libraries, and AltiVec instructions
  • Programming the Synergistic Processor Unit (SPU): vector processing, communication, caching, assembler coding, and more
  • Leveraging SDK vector and matrix libraries, including the Large Matrix Library, BLAS Library, FFT libraries, Multiprecision Library, and Monte Carlo API
  • Coding basic 2D graphics using the Linux frame buffer
  • Building 3D graphics with the new Gallium OpenGL library 
  • Constructing 3D games with Ogre3D and packaging them using Collada digital content interchange
  • Optimizing the performance of your Cell applications
  • Developing on standard PCs and transferring code to Cell systems such as the PlayStation 3

 

Foreword xv

Preface xvii

Chapter 1: Introducing the Cell Processor 1

Part I: The Software Development Tools 13

Chapter 2: The Cell Software Development Kit (SDK) 15

Chapter 3: Building Applications for the Cell Processor 35

Chapter 4: Debugging and Simulating Applications 53

Chapter 5: The Cell SDK Integrated Development Environment 83

Part II: The PowerPC Processor Element (PPE) 97

Chapter 6: Introducing the PowerPC Processor Unit (PPU) 99

Chapter 7: The SPE Runtime Management Library (libspe) 125

Chapter 8: SIMD Programming on the PPU, Part 1: Vector Libraries and Functions 153

Chapter 9: SIMD Programming on the PPU, Part 2: Methods and Algorithms 195

Part III: The Synergistic Processor Element (SPE) 217

Chapter 10: Introducing the Synergistic Processor Unit (SPU) 219

Chapter 11: SIMD Programming on the SPU 239

Chapter 12: SPU Communication, Part 1: Direct Memory Access (DMA) 285

Chapter 13: SPU Communication, Part 2: Events, Signals, and Mailboxes 317

Chapter 14: Advanced SPU Topics: Overlays, Software Caching, and SPU Isolation 345

Chapter 15: SPU Assembly Language 367

Part IV: Mathematics and Computation 409

Chapter 16: Vectors and Matrices 411

Chapter 17: The Fast Fourier Transform (FFT) 439

Chapter 18: Multiprecision Processing and Monte Carlo Methods 463

Part V: Graphics and Games 489

Chapter 19: Programming the Frame Buffer: Linux and the PlayStation 3 491

Chapter 20: OpenGL on the Cell: Gallium and Mesa 503

Chapter 21: Building Games with Ogre3D 529

Chapter 22: Packaging Graphics with COLLADA 559

Epilogue 581

Part VI: Appendices 583

Appendix A: Understanding ELF Files 585

Appendix B: Updating the PS3 Add-On Packages and Installing a New Linux Kernel 609

Appendix C: The Accelerated Library Framework (ALF) 617

Appendix D: SPU Instruction Set Reference 649

Appendix E: A Brief Introduction to Tcl 661

Index 669

 


Product details

  • Hardcover: 744 pages
  • Publisher: Prentice Hall; 1 edition (14 Oct 2008)
  • Language: English
  • ISBN-10: 0136008860
  • ISBN-13: 978-0136008866
  • Product Dimensions: 23.3 x 18.4 x 4.1 cm
  • Average Customer Review: 5.0 out of 5 stars  See all reviews (3 customer reviews)
  • Amazon Bestsellers Rank: 143,751 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

Discover books, learn about writers, and more.

Product Description

From the Back Cover

Make the Most of IBM’s Breakthrough Cell Processor in Any Gaming, Graphics, or Scientific Application

 

IBM’s Cell processor delivers truly stunning computational power: enough to satisfy even the most demanding gamers and graphics developers. That’s why Sony chose the Cell to drive its breakthrough PlayStation 3 and why Cell processors are at the heart of today’s most powerful supercomputers. But many developers have struggled to create high-performance Cell applications: the practical, coherent information they need simply hasn’t existed.

 

Programming the Cell Processor solves that problem once and for all. Whether you’re a game developer, graphics programmer, or engineer, Matthew Scarpino shows you how to create applications that leverage all the Cell’s extraordinary power. Scarpino covers everything from the Cell’s advanced architecture to its powerful tools and libraries, presenting realistic code examples that help you gain an increasingly deep and intuitive understanding of Cell development.

 

Scarpino illuminates each of the Cell’s most important technical innovations, introduces the commands needed to access its power, and walks you through the entire development process, including compiling, linking, debugging, and simulating code. He also offers start-to-finish case studies for three especially important Cell applications: games, graphics, and scientific computing. The Cell platform offers unprecedented potential, and this book will help you make the most of it.

 

  • Mastering the Cell SDK, including the GCC-based buildchain, ppu-gdb/spu-gdb debuggers, IBM Full System Simulator, and Cell IDE
  • Understanding the Cell’s central processing core, the PowerPC Processor Unit (PPU): structure, programming libraries, and AltiVec instructions
  • Programming the Synergistic Processor Unit (SPU): vector processing, communication, caching, assembler coding, and more
  • Leveraging SDK vector and matrix libraries, including the Large Matrix Library, BLAS Library, FFT libraries, Multiprecision Library, and Monte Carlo API
  • Coding basic 2D graphics using the Linux frame buffer
  • Building 3D graphics with the new Gallium OpenGL library 
  • Constructing 3D games with Ogre3D and packaging them using Collada digital content interchange
  • Optimizing the performance of your Cell applications
  • Developing on standard PCs and transferring code to Cell systems such as the PlayStation 3

 

Foreword xv

Preface xvii

Chapter 1: Introducing the Cell Processor 1

Part I: The Software Development Tools 13

Chapter 2: The Cell Software Development Kit (SDK) 15

Chapter 3: Building Applications for the Cell Processor 35

Chapter 4: Debugging and Simulating Applications 53

Chapter 5: The Cell SDK Integrated Development Environment 83

Part II: The PowerPC Processor Element (PPE) 97

Chapter 6: Introducing the PowerPC Processor Unit (PPU) 99

Chapter 7: The SPE Runtime Management Library (libspe) 125

Chapter 8: SIMD Programming on the PPU, Part 1: Vector Libraries and Functions 153

Chapter 9: SIMD Programming on the PPU, Part 2: Methods and Algorithms 195

Part III: The Synergistic Processor Element (SPE) 217

Chapter 10: Introducing the Synergistic Processor Unit (SPU) 219

Chapter 11: SIMD Programming on the SPU 239

Chapter 12: SPU Communication, Part 1: Direct Memory Access (DMA) 285

Chapter 13: SPU Communication, Part 2: Events, Signals, and Mailboxes 317

Chapter 14: Advanced SPU Topics: Overlays, Software Caching, and SPU Isolation 345

Chapter 15: SPU Assembly Language 367

Part IV: Mathematics and Computation 409

Chapter 16: Vectors and Matrices 411

Chapter 17: The Fast Fourier Transform (FFT) 439

Chapter 18: Multiprecision Processing and Monte Carlo Methods 463

Part V: Graphics and Games 489

Chapter 19: Programming the Frame Buffer: Linux and the PlayStation 3 491

Chapter 20: OpenGL on the Cell: Gallium and Mesa 503

Chapter 21: Building Games with Ogre3D 529

Chapter 22: Packaging Graphics with COLLADA 559

Epilogue 581

Part VI: Appendices 583

Appendix A: Understanding ELF Files 585

Appendix B: Updating the PS3 Add-On Packages and Installing a New Linux Kernel 609

Appendix C: The Accelerated Library Framework (ALF) 617

Appendix D: SPU Instruction Set Reference 649

Appendix E: A Brief Introduction to Tcl 661

Index 669

 

About the Author

Matthew Scarpino lives in the San Francisco Bay area and develops software to interface embedded devices. He holds a masters in electrical engineering and has spent more than a decade in software development. His experience encompasses computing clusters, digital signal processors, microcontrollers, and field programmable gate arrays, but he loves programming the Cell processor most of all.


Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

Customer Reviews

4 star
0
3 star
0
2 star
0
1 star
0
5.0 out of 5 stars
5.0 out of 5 stars
Most Helpful Customer Reviews
5.0 out of 5 stars Very good book 2 April 2014
Format:Hardcover|Verified Purchase
If you're interested in programming for the Cell processor then this is the book to get. It's easy to read and covers wide variety of topics. I'd recommend this as the starting point for learning the Cell architecture.
Comment | 
Was this review helpful to you?
5.0 out of 5 stars A good Book 20 Nov 2009
Format:Hardcover
It's a good book for professionists who want to approciate to the cell processor and parrallel programming
Comment | 
Was this review helpful to you?
1 of 2 people found the following review helpful
5.0 out of 5 stars Ready set GO 6 Sep 2009
Format:Hardcover
This book makes a great guide for developers thinking to exploit the parallelism capability of IBM Cell Broadband Engine. The big problem for now with the Cell processor system is just being new and lack of quickstart tutorials.

Though documents accompanying IBM Cell SDK really covers a lot, it still lacks the way of presentation. Even the installation guide on SDK documentation is bit confusing with loads of information. IBM SDK docs in short suffers data pollution. This book just gets things flowing through easily.

This book is not & doesn't pretend to be a complete reference of the Cell SDK libraries. But it gets you to the level from where you can depend on the reference guides(IBM docs).

NOTE: I was already experienced with CBE development system even before glancing through the book and have a long experience with other parallel systems like FPGA. So beware of that before taking my review.

Go run with the world of parallel processing.
Comment | 
Was this review helpful to you?
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 4.8 out of 5 stars  5 reviews
9 of 9 people found the following review helpful
4.0 out of 5 stars Everything you ever wanted to know about the Cell 24 Nov 2008
By Josh Sutphin - Published on Amazon.com
Format:Hardcover
First and foremost, this is NOT a book for beginners. It's for experienced programmers who want to start working with the Cell processor. If that describes you, then you should buy this book immediately.

Every imaginable detail about the Cell is covered here. You'll learn how to write code, yes, but you'll also learn how that code works in terms of the Cell's physical architecture. This is crucial to understanding how best to harness the Cell's power. There are numerous diagrams and clear writing throughout, succinctly explaining what your code does and why it does it.

The book opens with a few chapters on setting up your work environment. This goes into great detail, walking you through installing Linux on a Windows PC or a Playstation 3 system, using gcc/make, acquiring and configuring the Cell SDK, debugging and simulating Cell applications, and setting up Eclipse and the Cell IDE. If you already know your way around Linux you'll be able to skip most of this, but if you're a Windows user (like me) this section will prove invaluable.

This is followed by in-depth technical discussions of the PPU (the Cell's primary processor) and the SPUs (the smaller, distributed processors at the heart of the Cell's power), how these communicate with each other, and how to optimize these communications. Sprinkled throughout are use cases for various functions in the Cell standard libraries; by the end of this section you should be able to program the Cell processor reasonably effectively.

While this book is focused on the Cell processor in general, it does recognize that perhaps the most ubiquitous application of the processor at present is the Playstation 3 system; to that end, the third and final section of the book is targeted at using the Cell processor for specifically game-related tasks: programming the frame buffer, using OpenGL, running the popular Ogre3D engine on the Cell, and using the COLLADA shared graphics file format and libraries. Depending on your focus, this section may or may not be useful, but either way its quality remains up to par with the rest of the book.

My only complaint is that the book's structure is not particularly conducive to use as a reference guide. That is, while it covers a significant portion of the Cell libraries and features, you can't just quickly look something up. The book's design seems to suggest a deep, initial read-through and then only occasional re-references thereafter. But perhaps supplementing it with the SDK's own documentation is sufficient. This is the only reason the book falls short of 5 stars for me, and of course your mileage may vary.

Overall, highly recommended for experienced programmers who want to start working with the Cell processor.
2 of 3 people found the following review helpful
5.0 out of 5 stars Great First Look into the Cell Processor 13 Dec 2008
By Blake M. Farrugia - Published on Amazon.com
Format:Hardcover
Though the book is great for those wanting to understand the Cell processor, it is not for beginners. As a game design student with some programming skill, I clearly do not follow my own advice. This minor detail, though, will not keep me from telling others of Mr. Scarpino's fine work.

Starting with the basic structure of the Cell processor, the book gives a brief introduction to the hardware's PPU/SPU setup and capabilities. After a few walkthroughs that setup workspaces, the book delves more into the operations of the processor's operations, how parts interact, etc. These chapters are invaluable to programming on a Cell-based system and each detail was fairly easy to absorb. Thanks to the author's great explanations, it almost never felt like I was reading a textbook or programming primer.

My only gripe is that the material from the middle of the book onward is a bit difficult to understand at times, even with the author's help. I cannot fault the book since it was made for more experienced programmers, but keep this in mind when shopping.

Other forms of documentation on the Cell Processor fail to live up to the detail, readability, and focus that this book provides. I did not fully grasp every concept my first time through, but I will definitely read again and recommend to others.
1 of 2 people found the following review helpful
5.0 out of 5 stars Exceptional Book 25 Jun 2009
By James D. Beauchamp Jr. - Published on Amazon.com
Format:Hardcover|Verified Purchase
Programming the Cell Processor: For Games, Graphics, and Computation

This book is fantastic, complete and easy to read. It centers on programming the super computer found in a PS3, albeit the same processor is used in IBM's road runner, the current fastest computer built.
1 of 3 people found the following review helpful
5.0 out of 5 stars If you interest in diffrent CELL Architectures take it 18 May 2009
By Bulent Coskun - Published on Amazon.com
Format:Hardcover|Verified Purchase
Frankly, this is only book I know about Cell Processor. It explains architecture and how you going to program to Cell. I have PS3 and I am interest in game development so I got it and like it. I didn't finish yet but it is very easy to understand and topics are very well organized. If you want to know Cell Processor don't miss it.
1 of 3 people found the following review helpful
5.0 out of 5 stars Terrific, more books should be organized like this. 27 April 2009
By Kip Ricker - Published on Amazon.com
Format:Hardcover
Though I am only about half way through this book right now I can tell you that it is definitely set apart from other books. The author starts out with a wonderful overview of how the Cell processor, and each part of it, works. Its very easy to follow and covers, in my opinion, exactly what you need to know to be able to effectively develop for a platform. Though this is basically what you can tell from reading the table of contents. I just wish I could find more books written in the manner that this book is. This book deserves every last bit of the 5 stars I gave it. If you have any interest in working with the Cell processor stop thinking about it and just buy this book.
Were these reviews helpful?   Let us know
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Look for similar items by category


Feedback