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
Accelerator and GPU programming An introductory article on GPU programming and using graphics processing units to accelerate computational tasks. English Medium
Introduction to Parallel Computing Learning material introducing parallel computing concepts and approaches to executing computational tasks concurrently. English University of Extremadura
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
Parallel and High Performance Computing A book on parallel programming and high-performance computing, including techniques for improving computational performance. English Manning Publications
Parallel scaling guide Technical guidance on assessing parallel application performance and selecting appropriate computing resources through scaling tests. English Colorado School of Mines
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

Computational tools

Name Description
SYCL C++ programming for heterogeneous parallel computing.
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.

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
POSIX threads A POSIX standard for threads commonly known as Pthreads.
OpenACC A programming standard for parallel computing developed by Cray NVIDIA and others.
Message Passing Interface (MPI) A standardised and portable message-passing standard designed to function on parallel computing architectures.
OpenMP An application programming interface that supports multi-platform shared-memory multiprocessing programming.
Signals Asynchronous notifications sent to a process to notify it of an event or trigger specific behavior.
Parallel (data and task) decomposition Breaking a computational problem into smaller tasks that can be executed concurrently across multiple processors or threads.
Synchronisation and concurrency control Coordinating parallel tasks to ensure correct execution while minimising synchronisation overhead and contention.
Memory hierarchy and data locality optimisation Designing data structures and access patterns to minimise memory latency and maximise use of caches and local memory.
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.
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.
Atomic operations Operations that run completely independently of any other processes.
Shared Memory Programming Programming model where multiple threads operate on shared memory space and coordinate through synchronisation mechanisms.
Message Passing Parallelism (MPP) Programming model where parallel processes communicate by explicitly sending and receiving messages.
Communication optimisation Reducing and structuring data exchange between processes or threads to minimise communication overhead.
Locks Synchronisation primitives that enforce mutual exclusion by allowing only one thread to access a critical section.
Multi-threading The ability of a central processing unit to provide multiple threads of execution concurrently.
Memory hierarchies The organisation of computer storage into levels based on response time.
Multi-processing The use of two or more central processing units within a single computer system.
Semaphores Variables or abstract data types used to coordinate access to shared resources in multitasking environments.
Single Instruction Multiple Data (SIMD) Vectorised execution model where one instruction operates simultaneously on multiple data elements.