Docsity

Programming for Cell Processors - Lecture Slides | CDA 6938, Study notes of Electrical and Electronics Engineering

Partial preview of the text

Download Programming for Cell Processors - Lecture Slides | CDA 6938 and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

School of Electrical Engineering and Computer Science University of Central Florida

Programming for Cell ProcessorsProgramming for Cell Processors

Huiyang Zhou

Review of Cell Processor Architecture Review of Cell Processor Architecture

  • Heterogeneous Chip Multiprocessors (CMP)

University of Central Florida

FutureFuture^ High PerformanceHigh Performance CMPsCMPs : A shared view of comp. arch.: A shared view of comp. arch.

communitycommunity

  • Heterogeneous cores on a single chip
  • M large complex OOO cores and N small in-order cores ( N>>M )
    • Large OOO cores for control-intensive, hard-to-parallelize code(Instruction-level parallelism, Memory-level parallelism, aggressive speculation)
    • Many small in-order processors for data-level parallelism, task/thread-levelparallelism
  • E.g.
  • Cell is heterogeneous but does not really fit the description
    • PPE is far from powerful enough
    • Next generation of Cell may address PPE performance

Flynn’ Flynn’s Taxonomys Taxonomy

Figure from wikipedia

University of Central Florida

Multistage Pipeline Model Multistage Pipeline Model

  • Main issues:
    • Load balance
    • Data transmission

Parallel Stage Model Parallel Stage Model

  • SPMD – Similar to CUDA or Brooks+ model

University of Central Florida

Service ModelService Model

• MPMD

OutlineOutline

  • Introduction of programming models
  • “Hello world”
    • Three versions
  • Run-time support
  • Programming using vectors: SIMDization
  • DMA
  • Program Optimization