← Latest papers
💻 computer science

Hybrid Coarse-Grained Transprecision boosted by a Custom GEMM Kernel to accelerate Parametric Linear Systems

This paper proposes a hybrid coarse-grained transprecision framework combined with a custom fused GEMM kernel to accelerate parametric linear system computations on GPUs, achieving up to a 58x speedup over double-precision implementations while maintaining low relative error.

Original authors: Hamid Noori, Hans Vandierendonck, Roger Woods, Nick Polydorides

Published 2026-10-29
📖 5 min read🧠 Deep dive

Original authors: Hamid Noori, Hans Vandierendonck, Roger Woods, Nick Polydorides

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In the world of modern engineering and science, solving complex physical problems often relies on a technique called the finite element method. Imagine trying to understand how a bridge sways in the wind or how electricity flows through a semiconductor. Scientists break these massive, continuous objects into millions of tiny, manageable pieces, turning the laws of physics into a giant system of equations. To get a precise answer, computers must crunch numbers with extreme care, using a format known as double precision. This method treats every number with the highest possible accuracy, ensuring that tiny errors do not snowball into massive mistakes. However, this relentless pursuit of perfection comes at a steep price: it demands enormous amounts of time and energy. For applications that need answers instantly, such as a digital twin of a factory floor or a robot navigating a disaster zone, waiting for these slow, hyper-accurate calculations is simply not an option.

The challenge lies in a specific type of calculation that appears again and again in these simulations. It involves a massive, fixed collection of data representing the physical structure, combined with a changing set of parameters that describe the current conditions, like material strength or temperature. The computer must multiply these together to find the solution. Because the fixed data set is so vast, the calculation becomes a bottleneck, slowing everything down. Researchers have long suspected that for many of these tasks, the extreme precision of double-precision math is unnecessary. Just as a human eye cannot distinguish between two slightly different shades of gray in a dim room, many physical simulations can tolerate small numerical errors without the final result becoming useless. The question is whether we can safely trade that extra accuracy for a massive gain in speed.

A team of researchers from Queen's University Belfast and the University of Edinburgh has developed a new way to tackle this problem, offering a solution that is both smarter and faster. They created a system that acts like a two-stage filter for mathematical precision. First, in an offline phase, the system studies a representative sample of the changing parameters to determine the lowest level of precision that still keeps the final answer within a safe margin of error. It tests different formats, ranging from standard high-precision numbers down to much more compact, lower-precision versions. Once this baseline is established, the system moves to an online phase where it handles real-time data. As each new set of parameters arrives, the system quickly checks its range and automatically selects the most efficient precision format available on the graphics card. If the numbers are small and stable, it uses a very compact format; if they are larger or more volatile, it switches to a slightly more robust one. This dynamic adjustment allows the computer to run at top speed without sacrificing the reliability of the result.

To make this speedup even more dramatic, the researchers also built a custom engine for the calculations. Normally, a computer performs this type of matrix multiplication in two separate steps: first scaling the data by the parameters, and then multiplying the results together. This requires moving data back and forth between different parts of the computer's memory, which wastes time. The team fused these two steps into a single, custom operation. By scaling the data while it is being loaded into the processor's fast memory, they eliminated the need to move the data twice. This streamlined approach removed a significant amount of wasted effort, allowing the system to perform the same calculation much more efficiently.

The results of this approach were tested on a variety of large-scale problems using powerful graphics cards from three different generations of technology. The findings were striking. For a massive dataset containing over 21 million rows, the new method was able to process the information up to 117 times faster than the traditional, ultra-precise method. In terms of energy, the system consumed 36 times less power to achieve the same result. Crucially, despite these massive gains in speed and efficiency, the average error in the final answer remained incredibly low, staying well below one percent. In one specific test case involving a dataset of 80.3 gigabytes, the system could evaluate two different sets of parameters every second, a feat that would be impossible with the old, slow methods.

The researchers also addressed the issue of memory limits. When the data is too large to fit entirely on the graphics card, standard methods often have to pause and fetch data from the main computer memory, which is slow. The team found that by using their lower-precision formats, the data footprint shrinks enough to fit entirely on the card, avoiding these slow pauses. They compared two strategies for handling data that didn't fit: reloading the original data from the main memory versus recalculating it on the fly. They discovered that for very large datasets, recalculating the data was significantly faster than waiting to reload it, provided the precision was managed carefully to prevent errors from building up over time.

This work demonstrates that the rigid requirement for double-precision math in scientific computing is not always necessary. By intelligently matching the precision of the calculation to the specific needs of the problem, and by streamlining how the computer handles the data, it is possible to achieve real-time performance on problems that were previously too slow to solve on the fly. The study confirms that with the right tools, scientists and engineers can run complex simulations in real time, opening the door to more responsive digital twins, faster diagnostic tools, and more efficient engineering designs, all while using a fraction of the energy previously required.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →