30.01.2013 Views

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figure 98: Cell<br />

Architecture<br />

PPE<br />

PPU<br />

Figure 99: A Cell Process<br />

L1 Cache<br />

PPU address space<br />

pthreads<br />

pthreads pthreads pthreads<br />

PPU image<br />

list<br />

PPU exe<br />

shared shared libs<br />

shared libs<br />

shared libs<br />

shared libs<br />

shared libs<br />

shared libs libs<br />

L2<br />

Cache<br />

SPE<br />

SPU<br />

Debugging IBM Cell Broadband Engine Programs<br />

Local Store<br />

Local Store<br />

SPU<br />

SPE<br />

SPE<br />

SPU<br />

Local Store<br />

Local Store<br />

SPE<br />

SPU<br />

Local Store<br />

SPE<br />

SPU<br />

Local Store<br />

<strong>TotalView</strong> looks as the executing program in a slightly different way. The following<br />

illustration shows how <strong>TotalView</strong> models the processes running on<br />

the Cell.<br />

SPU address<br />

space SPU address<br />

space<br />

SPU thread<br />

SPU thread<br />

SPU image<br />

listSPU<br />

image<br />

list<br />

SPU1.exe<br />

SPU.exe<br />

The <strong>TotalView</strong> separates the PPU address space from that of each SPU. The<br />

PPU has its own image. In addition, it uses ptheads to launch SPU contexts.<br />

<strong>TotalView</strong> manages each context individually. This structuring lets you see<br />

<strong>TotalView</strong> Reference <strong>Guide</strong>: version 8.7 139<br />

SPU<br />

SPE<br />

. . .<br />

DMA<br />

SPU contexts<br />

Local Store<br />

SPU<br />

SPE<br />

Local Store<br />

SPU<br />

SPE<br />

SPU address<br />

space<br />

SPU address<br />

space<br />

SPU thread<br />

SPU thread<br />

SPU image<br />

listSPU<br />

image<br />

list<br />

SPU7.exe<br />

SPU.exe

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!