Loading...

Skill: Parallel programming

Applying core parallel software design concepts, methodologies and algorithms for writing parallel code.

Related skills

Learning resources

Name Description Language Provider
The Art of Multiprocessor Programming A textbook on concurrent and multiprocessor programming, covering synchronisation, shared-memory algorithms and concurrent data structures. English Herlihy and Shavit
Parallel scaling guide Technical guidance on assessing parallel application performance and selecting appropriate computing resources through scaling tests. English Colorado School of Mines
Parallel and High Performance Computing A book on parallel programming and high-performance computing, including techniques for improving computational performance. English Manning Publications
Introduction to parallel programming by the Carpentries An introductory lesson on parallel programming in Python and using multiple computing resources to execute work. English The Carpentries
Introduction to Parallel Computing Learning material introducing parallel computing concepts and approaches to executing computational tasks concurrently. English University of Extremadura
Accelerator and GPU programming An introductory article on GPU programming and using graphics processing units to accelerate computational tasks. English Medium

Computational tools

Name Description
concurrent.futures A standard library module for providing a high-level interface for asynchronously executing callables.
CUDA A programming platform for writing parallel applications that run on NVIDIA GPUs.
Dask A flexible library for parallel computing in Python.
SYCL C++ programming for heterogeneous parallel computing.

Programming or data languages

Name Description
DPC++ An open-source implementation of SYCL for architectures including CPUs GPUs and FPGAs.
HIP A C++ runtime API and kernel language that allows developers to create portable GPU applications for AMD and NVIDIA hardware.

Methodologies

Name Description
Synchronisation and concurrency control Coordinating parallel tasks to ensure correct execution while minimising synchronisation overhead and contention.
Single Instruction Multiple Data (SIMD) Vectorised execution model where one instruction operates simultaneously on multiple data elements.
Signals Asynchronous notifications sent to a process to notify it of an event or trigger specific behavior.
Shared Memory Programming Programming model where multiple threads operate on shared memory space and coordinate through synchronisation mechanisms.
Semaphores Variables or abstract data types used to coordinate access to shared resources in multitasking environments.
POSIX threads A POSIX standard for threads commonly known as Pthreads.
Parallel (data and task) decomposition Breaking a computational problem into smaller tasks that can be executed concurrently across multiple processors or threads.
OpenMP An application programming interface that supports multi-platform shared-memory multiprocessing programming.
OpenACC A programming standard for parallel computing developed by Cray NVIDIA and others.
Multi-threading The ability of a central processing unit to provide multiple threads of execution concurrently.
Multi-processing The use of two or more central processing units within a single computer system.
Message Passing Parallelism (MPP) Programming model where parallel processes communicate by explicitly sending and receiving messages.
Message Passing Interface (MPI) A standardised and portable message-passing standard designed to function on parallel computing architectures.
Memory hierarchy and data locality optimisation Designing data structures and access patterns to minimise memory latency and maximise use of caches and local memory.
Memory hierarchies The organisation of computer storage into levels based on response time.
Locks Synchronisation primitives that enforce mutual exclusion by allowing only one thread to access a critical section.
Load balancing Distributing work evenly across processors or nodes to maximise resource utilisation and minimise idle time. Workload distribution is usually decided in the algorithm design but can appear in HPC runtime tuning.
Communication optimisation Reducing and structuring data exchange between processes or threads to minimise communication overhead.
Atomic operations Operations that run completely independently of any other processes.
Algorithm scalability design Designing parallel algorithms so that their performance improves as the number of processors or compute resources increases, applying principles such as Amdahl's Law and Gustafson's Law to evaluate theoretical performance limits.