Parallel programming and computational thinking

Wen mei W. Hwu, David B. Kirk, Izzat El Hajj

Research output: Chapter in Book/Report/Conference proceedingChapter

Abstract

This chapter introduces the concept of computational thinking. It first reviews the main goals of parallel programming. It then discusses the thinking process of algorithm selection and problem decomposition. For a given problem the programmer will typically have to select from a variety of algorithms. Some of these algorithms achieve different tradeoffs while maintaining the same numerical accuracy. Others involve sacrificing some level of accuracy to achieve much more scalable running times. For the selected algorithm, different choices of problem decomposition can result in different levels of interference between threads, parallelism exposed, load imbalance, and other performance considerations during parallel execution. Computational thinking skills allow an algorithm designer to work around the roadblocks and reach a good solution.

Original languageEnglish (US)
Title of host publicationProgramming Massively Parallel Processors
Subtitle of host publicationa Hands-on Approach, Fourth Edition
PublisherElsevier
Pages433-446
Number of pages14
ISBN (Electronic)9780323912310
ISBN (Print)9780323984638
DOIs
StatePublished - Jan 1 2022

Keywords

  • Amdahl’s law
  • Strong scaling
  • algorithm selection
  • algorithmic complexity
  • approximation
  • gather
  • input-centric decomposition
  • output-centric decomposition
  • problem decomposition
  • scatter
  • weak scaling

ASJC Scopus subject areas

  • General Computer Science

Fingerprint

Dive into the research topics of 'Parallel programming and computational thinking'. Together they form a unique fingerprint.

Cite this