Wim Vanderbauwhede
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Research Subjects
Wim Vanderbauwhede has a total of 29 co-authors. Here are the top co-authors by number of shared publications:
- Syed Waqar Nabi
University of Glasgow, Glasgow, United Kingdom
11 shared publications - Martin Margala
School of Computing and Informatics, University of Louisiana at Lafayette, Lafayette, LA, USA
6 shared publications Cade C. Wells
Institute for System Level Integration, The Alba Center, The Alba Campus, Livingston EH54 6PR, UK
3 shared publications- Robert Szafarczyk
School of Computing Science University of Glasgow UK
3 shared publications - Robert Szafarczyk
University of Glasgow, Glasgow, United Kingdom
2 shared publications Syed Waqar Nabi
School of Computing Science University of Glasgow Glasgow UK
2 shared publications
Latest Publications
- Open Access
- 10 June 2026
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Sustainable Computing
- Vol. PP (4) , 1-12
Modelling Scenarios for Carbon-Aware Geographic Load Shifting of Compute Workloads
We present a linear, statistics based analytical model to evaluate the reductions in $CO_{2}e$ emissions resulting from geographic load shifting. The model calculates embodied and operational emissions of data centres participating in geographic load shifting as a function of their load and evaluates the amount of work that can be shifted, and the ensuing change in operational and overall emissions. This model is optimistic as it ignores issues of grid capacity, demand and curtailment. In other words, real-world reductions will be smaller than the estimates. However, even with these assumptions, the presented scenarios show that the realistic reductions from carbon-aware geographic load shifting are small, of the order of 5%. This is not enough to compensate the growth in emissions from global data centre expansion.
- 10 June 2026
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Sustainable Computing
- Vol. PP (4) , 1-12
Open AccessModelling Scenarios for Carbon-Aware Geographic Load Shifting of Compute Workloads
We present a linear, statistics based analytical model to evaluate the reductions in $CO_{2}e$ emissions resulting from geographic load shifting. The model calculates embodied and operational emissions of data centres participating in geographic load shifting as a function of their load and evaluates the amount of work that can be shifted, and the ensuing change in operational and overall emissions. This model is optimistic as it ignores issues of grid capacity, demand and curtailment. In other words, real-world reductions will be smaller than the estimates. However, even with these assumptions, the presented scenarios show that the realistic reductions from carbon-aware geographic load shifting are small, of the order of 5%. This is not enough to compensate the growth in emissions from global data centre expansion.
- Open Access
- 2 March 2026
- Published by Springer Nature in International Journal of Parallel Programming
- Vol. 54 (1-2) , 1
Optimising Stencil Code on FPGAs by Trading Data Movement for Compute using Compiler Rewrite Rules
FPGAs are promising accelerators for scientific computing tasks because of their potential for delivering high performance-per-Watt. However, programming for optimal performance remains a complex task. Our goal is to bring FPGAs within the reach of domain scientists by developing compilers targeting scientific Fortran code. In this paper, we present a novel approach to aggressively reduce memory utilisation of stencil-based finite-difference Fortran code through a compiler-based automatic program transformation that trades memory accesses for computation. The key contribution of this work is a set of type-driven rewrite rules that identify and eliminate the intermediate arrays in stencil computations and replace them with re-computation, thus reducing the number of memory accesses. The main novelty lies in the transformations to move stencil operations out of maps and folds and to fuse stencils. We demonstrate the effectiveness of our approach using a set of five 3-D and 2-D stencil benchmarks evaluated on an Intel Arria 10 FPGA board. Our transformation result on average in a $$2.5\times$$ reduction in DRAM usage, a $$3.4\times$$ increase in DSP usage, and a $$25\times$$ improvement in throughput. We show on a real-world exemplar, the Large Eddy Simulator for Urban Flows, that our algorithm successfully removes all intermediate arrays (18 in total), reducing the memory footprint by a factor of $$4.5\times$$ . The memory-reduced FPGA code, automatically transpiled from the original Fortran source, is $$9.7\times$$ faster than the original Fortran code, and performance competitive with a hand optimised FPGA version while supporting a four times larger domain size.- 2 March 2026
- Published by Springer Nature in International Journal of Parallel Programming
- Vol. 54 (1-2) , 1
Open AccessOptimising Stencil Code on FPGAs by Trading Data Movement for Compute using Compiler Rewrite Rules
FPGAs are promising accelerators for scientific computing tasks because of their potential for delivering high performance-per-Watt. However, programming for optimal performance remains a complex task. Our goal is to bring FPGAs within the reach of domain scientists by developing compilers targeting scientific Fortran code. In this paper, we present a novel approach to aggressively reduce memory utilisation of stencil-based finite-difference Fortran code through a compiler-based automatic program transformation that trades memory accesses for computation. The key contribution of this work is a set of type-driven rewrite rules that identify and eliminate the intermediate arrays in stencil computations and replace them with re-computation, thus reducing the number of memory accesses. The main novelty lies in the transformations to move stencil operations out of maps and folds and to fuse stencils. We demonstrate the effectiveness of our approach using a set of five 3-D and 2-D stencil benchmarks evaluated on an Intel Arria 10 FPGA board. Our transformation result on average in a $$2.5\times$$ reduction in DRAM usage, a $$3.4\times$$ increase in DSP usage, and a $$25\times$$ improvement in throughput. We show on a real-world exemplar, the Large Eddy Simulator for Urban Flows, that our algorithm successfully removes all intermediate arrays (18 in total), reducing the memory footprint by a factor of $$4.5\times$$ . The memory-reduced FPGA code, automatically transpiled from the original Fortran source, is $$9.7\times$$ faster than the original Fortran code, and performance competitive with a hand optimised FPGA version while supporting a four times larger domain size. - Open Access
- 12 October 2025
- Published by Association for Computing Machinery (ACM)
- p. 24-30
Bridging Disciplinary Gaps in Climate Research through Programming Accessibility and Interdisciplinary Collaboration
- 12 October 2025
- Published by Association for Computing Machinery (ACM)
- p. 24-30
Open AccessBridging Disciplinary Gaps in Climate Research through Programming Accessibility and Interdisciplinary Collaboration
- Open Access
- 28 August 2025
- Published by Springer Nature in The European Physical Journal C
- Vol. 85 (8) , 1-14
Life cycle analysis for emissions of scientific computing centres
We propose a dedicated model to assist with the life cycle analysis of emissions of scientific computing centres. The model takes into account both the embodied carbon and emissions from use, as well as other factors such as data centre power usage efficiency, data centre expansion, hardware replacement, increase in energy efficiency of next-generation hardware, reduction in carbon intensity of the electricity supply and potential for heat reuse. If differs from existing models in its detailed handling of hardware embodied carbon and time dependency of various factors affecting the emissions. We present a number of scenarios where we apply the model to real-life HPC centres in different countries to illustrate how the trade-offs depend on the various factors and validate our model against the literature.
- 28 August 2025
- Published by Springer Nature in The European Physical Journal C
- Vol. 85 (8) , 1-14
Open AccessLife cycle analysis for emissions of scientific computing centres
We propose a dedicated model to assist with the life cycle analysis of emissions of scientific computing centres. The model takes into account both the embodied carbon and emissions from use, as well as other factors such as data centre power usage efficiency, data centre expansion, hardware replacement, increase in energy efficiency of next-generation hardware, reduction in carbon intensity of the electricity supply and potential for heat reuse. If differs from existing models in its detailed handling of hardware embodied carbon and time dependency of various factors affecting the emissions. We present a number of scenarios where we apply the model to real-life HPC centres in different countries to illustrate how the trade-offs depend on the various factors and validate our model against the literature.
- Open Access
- 27 February 2025
- Published by Association for Computing Machinery (ACM)
- p. 211-222
Dynamic Loop Fusion in High-Level Synthesis
Dynamic High-Level Synthesis (HLS) uses additional hardware to perform memory disambiguation at runtime, increasing loop throughput in irregular codes compared to static HLS. However, most irregular codes consist of multiple sibling loops, which currently have to be executed sequentially by all HLS tools. Static HLS performs loop fusion only on regular codes, while dynamic HLS relies on loops with dependencies to run to completion before the next loop starts. We present dynamic loop fusion for HLS, a compiler/hardware co-design approach that enables multiple loops to run in parallel, even if they contain unpredictable memory dependencies. Our only requirement is that memory addresses are monotonically non-decreasing in inner loops. We present a novel program-order schedule for HLS, inspired by polyhedral compilers, that together with our address monotonicity analysis enables dynamic memory disambiguation that does not require searching of address histories and sequential loop execution. Our evaluation shows an average speedup of 14× over static and 4× over dynamic HLS.
- 27 February 2025
- Published by Association for Computing Machinery (ACM)
- p. 211-222
Open AccessDynamic Loop Fusion in High-Level Synthesis
Dynamic High-Level Synthesis (HLS) uses additional hardware to perform memory disambiguation at runtime, increasing loop throughput in irregular codes compared to static HLS. However, most irregular codes consist of multiple sibling loops, which currently have to be executed sequentially by all HLS tools. Static HLS performs loop fusion only on regular codes, while dynamic HLS relies on loops with dependencies to run to completion before the next loop starts. We present dynamic loop fusion for HLS, a compiler/hardware co-design approach that enables multiple loops to run in parallel, even if they contain unpredictable memory dependencies. Our only requirement is that memory addresses are monotonically non-decreasing in inner loops. We present a novel program-order schedule for HLS, inspired by polyhedral compilers, that together with our address monotonicity analysis enables dynamic memory disambiguation that does not require searching of address histories and sequential loop execution. Our evaluation shows an average speedup of 14× over static and 4× over dynamic HLS.
- Open Access
- 25 February 2025
- Published by Association for Computing Machinery (ACM)
- p. 192-204
Compiler Support for Speculation in Decoupled Access/Execute Architectures
Irregular codes are bottlenecked by memory and communication latency. Decoupled access/execute (DAE) is a common technique to tackle this problem. It relies on the compiler to separate memory address generation from the rest of the program, however, such a separation is not always possible due to control and data dependencies between the access and execute slices, resulting in a loss of decoupling. In this paper, we present compiler support for speculation in DAE architectures that preserves decoupling in the face of control dependencies. We speculate memory requests in the access slice and poison mis-speculations in the execute slice without the need for replays or synchronization. Our transformation works on arbitrary, reducible control flow and is proven to preserve sequential consistency. We show that our approach applies to a wide range of architectural work on CPU/GPU prefetchers, CGRAs, and accelerators, enabling DAE on a wider range of codes than before.
- 25 February 2025
- Published by Association for Computing Machinery (ACM)
- p. 192-204
Open AccessCompiler Support for Speculation in Decoupled Access/Execute Architectures
Irregular codes are bottlenecked by memory and communication latency. Decoupled access/execute (DAE) is a common technique to tackle this problem. It relies on the compiler to separate memory address generation from the rest of the program, however, such a separation is not always possible due to control and data dependencies between the access and execute slices, resulting in a loss of decoupling. In this paper, we present compiler support for speculation in DAE architectures that preserves decoupling in the face of control dependencies. We speculate memory requests in the access slice and poison mis-speculations in the execute slice without the need for replays or synchronization. Our transformation works on arbitrary, reducible control flow and is proven to preserve sequential consistency. We show that our approach applies to a wide range of architectural work on CPU/GPU prefetchers, CGRAs, and accelerators, enabling DAE on a wider range of codes than before.
- Open Access
A High-Frequency Load-Store Queue with Speculative Allocations for High-Level Synthesis
Dynamically scheduled high-level synthesis (HLS) enables the use of load-store queues (LSQs) which can disambiguate data hazards at circuit runtime, increasing throughput in codes with unpredictable memory accesses. However, the increased throughput comes at the price of lower clock frequency and higher resource usage compared to statically scheduled circuits without LSQs. The lower frequency often nullifies any throughput improvements over static scheduling, while the resource usage becomes prohibitively expensive with large queue sizes. This paper presents a method for achieving dynamically scheduled memory operations in HLS without significant clock period and resource usage increase. We present a novel LSQ based on shift-registers enabled by the opportunity to specialize queue sizes to a target code in HLS. We show a method to speculatively allocate addresses to our LSQ, significantly increasing pipeline parallelism in codes that could not benefit from an LSQ before. In stark contrast to traditional load value speculation, we do not require pipeline replays and have no overhead on misspeculation. On a set of benchmarks with data hazards, our approach achieves an average speedup of 11$\times$ against static HLS and 5$\times$ against dynamic HLS that uses a state of the art LSQ from previous work. Our LSQ also uses several times fewer resources, scaling to queues with hundreds of entries, and supports both on-chip and off-chip memory.
Open AccessA High-Frequency Load-Store Queue with Speculative Allocations for High-Level Synthesis
Dynamically scheduled high-level synthesis (HLS) enables the use of load-store queues (LSQs) which can disambiguate data hazards at circuit runtime, increasing throughput in codes with unpredictable memory accesses. However, the increased throughput comes at the price of lower clock frequency and higher resource usage compared to statically scheduled circuits without LSQs. The lower frequency often nullifies any throughput improvements over static scheduling, while the resource usage becomes prohibitively expensive with large queue sizes. This paper presents a method for achieving dynamically scheduled memory operations in HLS without significant clock period and resource usage increase. We present a novel LSQ based on shift-registers enabled by the opportunity to specialize queue sizes to a target code in HLS. We show a method to speculatively allocate addresses to our LSQ, significantly increasing pipeline parallelism in codes that could not benefit from an LSQ before. In stark contrast to traditional load value speculation, we do not require pipeline replays and have no overhead on misspeculation. On a set of benchmarks with data hazards, our approach achieves an average speedup of 11$\times$ against static HLS and 5$\times$ against dynamic HLS that uses a state of the art LSQ from previous work. Our LSQ also uses several times fewer resources, scaling to queues with hundreds of entries, and supports both on-chip and off-chip memory.
- Open Access
Compiler Discovered Dynamic Scheduling of Irregular Code in High-Level Synthesis
Dynamically scheduled high-level synthesis (HLS) achieves higher throughput than static HLS for codes with unpredictable memory accesses and control flow. However, excessive dataflow scheduling results in circuits that use more resources and have a slower critical path, even when only a part of the circuit exhibits dynamic behavior. Recent work has shown that marking parts of a dataflow circuit for static scheduling can save resources and improve performance (hybrid scheduling), but the dynamic part of the circuit still bottlenecks the critical path. We propose instead to selectively introduce dynamic scheduling into static HLS. This paper presents an algorithm for identifying code regions amenable to dynamic scheduling and shows a methodology for introducing dynamically scheduled basic blocks, loops, and memory operations into static HLS. Our algorithm is informed by modulo-scheduling and can be integrated into any modulo-scheduled HLS tool. On a set of ten benchmarks, we show that our approach achieves on average an up to 3.7$\times$ and 3$\times$ speedup against dynamic and hybrid scheduling, respectively, with an area overhead of 1.3$\times$ and frequency degradation of 0.74$\times$ when compared to static HLS.
Open AccessCompiler Discovered Dynamic Scheduling of Irregular Code in High-Level Synthesis
Dynamically scheduled high-level synthesis (HLS) achieves higher throughput than static HLS for codes with unpredictable memory accesses and control flow. However, excessive dataflow scheduling results in circuits that use more resources and have a slower critical path, even when only a part of the circuit exhibits dynamic behavior. Recent work has shown that marking parts of a dataflow circuit for static scheduling can save resources and improve performance (hybrid scheduling), but the dynamic part of the circuit still bottlenecks the critical path. We propose instead to selectively introduce dynamic scheduling into static HLS. This paper presents an algorithm for identifying code regions amenable to dynamic scheduling and shows a methodology for introducing dynamically scheduled basic blocks, loops, and memory operations into static HLS. Our algorithm is informed by modulo-scheduling and can be integrated into any modulo-scheduled HLS tool. On a set of ten benchmarks, we show that our approach achieves on average an up to 3.7$\times$ and 3$\times$ speedup against dynamic and hybrid scheduling, respectively, with an area overhead of 1.3$\times$ and frequency degradation of 0.74$\times$ when compared to static HLS.
- Open Access
- 5 May 2023
- Published by MDPI AG in Algorithms
- Vol. 16 (5) , 241
Quantum Circuit-Width Reduction through Parameterisation and Specialisation
As quantum computing technology continues to develop, the need for research into novel quantum algorithms is growing. However, such algorithms cannot yet be reliably tested on actual quantum hardware, which is still limited in several ways, including qubit coherence times, connectivity, and available qubits. To facilitate the development of novel algorithms despite this, simulators on classical computing systems are used to verify the correctness of an algorithm, and study its behaviour under different error models. In general, this involves operating on a memory space that grows exponentially with the number of qubits. In this work, we introduce quantum circuit transformations that allow for the construction of parameterised circuits for quantum algorithms. The parameterised circuits are in an ideal form to be processed by quantum compilation tools, such that the circuit can be partially evaluated prior to simulation, and a smaller specialised circuit can be constructed by eliminating fixed input qubits. We show significant reduction in the number of qubits for various quantum arithmetic circuits. Divide-by-n-bits quantum integer dividers are used as an example demonstration. It is shown that the complexity reduces from to qubits in the specialised versions. For quantum algorithms involving divide-by-8 arithmetic operations, a reduction by in required memory is achieved for classical simulation, reducing the memory required from 137 GB to 0.53 GB.- 5 May 2023
- Published by MDPI AG in Algorithms
- Vol. 16 (5) , 241
Open AccessQuantum Circuit-Width Reduction through Parameterisation and Specialisation
As quantum computing technology continues to develop, the need for research into novel quantum algorithms is growing. However, such algorithms cannot yet be reliably tested on actual quantum hardware, which is still limited in several ways, including qubit coherence times, connectivity, and available qubits. To facilitate the development of novel algorithms despite this, simulators on classical computing systems are used to verify the correctness of an algorithm, and study its behaviour under different error models. In general, this involves operating on a memory space that grows exponentially with the number of qubits. In this work, we introduce quantum circuit transformations that allow for the construction of parameterised circuits for quantum algorithms. The parameterised circuits are in an ideal form to be processed by quantum compilation tools, such that the circuit can be partially evaluated prior to simulation, and a smaller specialised circuit can be constructed by eliminating fixed input qubits. We show significant reduction in the number of qubits for various quantum arithmetic circuits. Divide-by-n-bits quantum integer dividers are used as an example demonstration. It is shown that the complexity reduces from to qubits in the specialised versions. For quantum algorithms involving divide-by-8 arithmetic operations, a reduction by in required memory is achieved for classical simulation, reducing the memory required from 137 GB to 0.53 GB. - Open Access
- 14 July 2021
- Published by Springer Nature in The Journal of Supercomputing
- Vol. 78 (2) , 2988-3028
Making legacy Fortran code type safe through automated program transformation
Fortran is still widely used in scientific computing, and a very large corpus of legacy as well as new code is written in FORTRAN 77. In general this code is not type safe, so that incorrect programs can compile without errors. In this paper, we present a formal approach to ensure type safety of legacy Fortran code through automated program transformation. The objective of this work is to reduce programming errors by guaranteeing type safety. We present the first rigorous analysis of the type safety of FORTRAN 77 and the novel program transformation and type checking algorithms required to convert FORTRAN 77 subroutines and functions into pure, side-effect free subroutines and functions in Fortran 90. We have implemented these algorithms in a source-to-source compiler which type checks and automatically transforms the legacy code. We show that the resulting code is type safe and that the pure, side-effect free and referentially transparent subroutines can readily be offloaded to accelerators.
- 14 July 2021
- Published by Springer Nature in The Journal of Supercomputing
- Vol. 78 (2) , 2988-3028
Open AccessMaking legacy Fortran code type safe through automated program transformation
Fortran is still widely used in scientific computing, and a very large corpus of legacy as well as new code is written in FORTRAN 77. In general this code is not type safe, so that incorrect programs can compile without errors. In this paper, we present a formal approach to ensure type safety of legacy Fortran code through automated program transformation. The objective of this work is to reduce programming errors by guaranteeing type safety. We present the first rigorous analysis of the type safety of FORTRAN 77 and the novel program transformation and type checking algorithms required to convert FORTRAN 77 subroutines and functions into pure, side-effect free subroutines and functions in Fortran 90. We have implemented these algorithms in a source-to-source compiler which type checks and automatically transforms the legacy code. We show that the resulting code is type safe and that the pure, side-effect free and referentially transparent subroutines can readily be offloaded to accelerators.