Back to All
OnQ Blog

HBC vs HBM vs SRAM: Part 2 – A balanced comparison from an architect’s view

Analyzing which approach wins the workloads that matter most for AI inference
Qualcomm-image



What you should know:
  • AI token generation is bandwidth-bound, so reducing data movement improves performance more than adding compute.
  • While on-chip static random access memory (SRAM) and high bandwidth memory (HBM) excel at specific workloads, high bandwidth compute (HBC) is architecturally advantaged because it performs computation where the data resides.
  • For AI inference’s workload mix, HBC’s ability to minimize data movement increasingly improves system-level performance, power efficiency and economics.



Part one of this blog post compared three AI-inference memory strategies — SRAM, HBM and HBC. Since decode is memory-bound, HBC wins by computing near data, relaxing interface bandwidth, capacity, power and cost trade-offs instead of pitting them against each other. Part 2 presents an architect’s view and an honest comparison for a full decode solution.

 

The architect’s view: Reading performance off the roofline

The language computer architects use to reason about performance is the roofline. The model plots attainable performance against a workload’s arithmetic intensity — the number of operations performed for every byte moved. A workload can only reach peak compute once it does enough arithmetic per byte to hide the cost of fetching that byte. Below that point it sits on a sloped roof whose height is set entirely by bandwidth.

Qualcomm-image
Token generation sits far down the sloped, bandwidth-limited part of the roof. With little arithmetic per byte, peak compute is unreachable — only more effective memory bandwidth raises attainable performance.

 

This is exactly where autoregressive generation lives. Producing each token reads a large volume of parameters and context but does only a small multiply-accumulate with them — an arithmetic intensity of roughly one to two operations per byte at low batch sizes. Batching lifts it somewhat, but latency targets and the memory cost of holding more context cap how far. The workload is pinned to the bandwidth roof — and no amount of extra arithmetic silicon moves it. 

 

Three ways to change the intensity that matters 

Here is the architect’s insight. Arithmetic intensity is not a fixed property of the model; it depends on which boundary you measure it across. The operation count is the same for everyone, so the way to raise intensity is to shrink the denominator — the bytes that must cross the expensive boundary between memory and compute. That is precisely where the three approaches differ. 

Qualcomm-image
The same workload, but the useful operations performed per byte crossing the chip boundary differ sharply. HBC shrinks the denominator, raising the intensity the roofline actually rewards.

 

  • HBM-based accelerators set the baseline. Every parameter byte is read out of the memory and across the interface each time it is used. The boundary intensity is the workload’s own — low, and firmly on the bandwidth roof. 
  • On-chip SRAM approaches raise it modestly by keeping resident data off the external bus — but a large model no longer fits on one device, so the bytes reappear as traffic on the network fabric between the many devices sharing the model. 
  • HBC changes the denominator directly. The bandwidth-heavy work is done where the data already sits, so the bytes crossing the boundary are only compact results — several times more useful work per byte that leaves the memory. 

Seen this way, the debate stops being about peak throughput and becomes a single architectural question: which design raises the arithmetic intensity at the boundary that limits you? The roofline says that is the only quantity that moves memory-bound performance — and HBC is the one approach that raises it structurally, rather than renting more bandwidth to feed the same wasteful crossing.

You cannot out-compute a bandwidth wall. You can only do more useful work per byte that has to cross it.

The case for an honest comparison

Previous blog posts in this HBC series argued that AI inference is limited by how well a system feeds its compute, and that HBC relaxes the trade-off between bandwidth, capacity, power and cost. That argument is sound — but told at the level of a whole system, it can flatten an important truth: no single memory approach wins everywhere.

Modern inference is not one workload. It is a mix of very different kinds of work, and the best architecture for one is not the best for another. A fair comparison has to say where each approach genuinely leads, ties or trails — and only then draw the system-level conclusion. That is the point of this piece.

The interesting question is not “which memory wins?” but “which memory wins at what?”

One server, two very different jobs

Generating a token exercises two dominant kinds of computation, and they stress memory in opposite ways.

  • Feed-forward network (FFN) layers apply the model's fixed weights. The data is static and regular — the same parameters, the same shapes, every step — which makes it a natural fit for hardware that thrives on predictable, fixed-size operands.
  • Attention reads the growing history of the conversation — the accumulated context. Its footprint grows with the sequence and refuses to sit still, so it punishes any design that assumes a small, fixed working set.

Add batch size as a second axis. At low batch and tight latency — a single user waiting on a fast response — there is very little arithmetic to amortize each byte fetched, so the work is at its most memory-bound. As batch size grows, more useful work rides on each fetch, and the picture shifts again. Any claim about who “wins” is meaningless until it names the workload and the batch regime.

 

The scorecard: Where each approach leads, ties or trails

With those regimes named, the comparison becomes concrete. The table below is deliberately even-handed — it hands each approach the wins it has earned.

Qualcomm-image
The winner depends on the workload. On-chip memory leads the low-batch FFN regime it is built for; HBC leads on attention and at system scale; HBM-based accelerators are the versatile generalist in between.
On-chip memory: A low-batch FFN specialist

Keeping the model in very fast on-die memory delivers extraordinary bandwidth at very low latency. In the regime it is built for — FFN layers at low batch size and tight latency — this is genuinely the approach to beat. It is typically the least costly per unit of throughput where it applies, it matches or exceeds HBC on energy per token, and it clears HBM-based accelerators comfortably on both. 

The limits are structural, not incidental. Sustaining that on-chip bandwidth imposes strong constraints on the compute design, and the memory works well only for static, fixed-size data — which is exactly why it excels at FFN work and does not extend to attention's growing, irregular footprint. Capacity per device is small, so a large model must be spread across many devices, carrying a large threshold investment and real system complexity. It can be thought of as a narrow specialist.

 

HBM-based accelerators: The versatile generalist

Surrounding a large processor with stacked HBM buys both generous capacity and good bandwidth, which is why this approach runs a broad range of workloads today. It handles FFN and attention networks, short context and long, without falling off a cliff. Its ceiling is the boundary itself: every byte the computation touches must still be read out of the memory and driven across the interface, and that bandwidth is bought through expensive, supply-constrained packaging. It is rarely the outright winner on any one regime, but it is also seldom the big loser — the safe generalist.

 

HBC-based accelerators: Attention and the whole system champion

Computing the most data-intensive work inside the memory changes what has to move. On attention — whose ever-growing context is precisely the traffic that dominates long-running chats and agents — doing the work in place, and sending out only compact results, is decisive. Avoiding data movement rather than merely managing it compounds the advantage at system scale, where data movement is the dominant energy cost and the binding physical limit.

Where it does not claim an outright win is the specialist's narrow home turf: on low-batch FFN work, a well-matched on-chip design can equal or better it. HBC is competitive, but not the peak. 

 

The weighted verdict: Why the mix decides the economics

If each approach excels in a different regime, how can there be a system-level winner at all? Because a real deployment does not run one regime — it runs a weighted mix, and the weights are moving.

Qualcomm-image
As context lengthens — deeper chats, agents, long documents — attention claims a growing share of the time and energy spent per token. The workload mix, not any single layer, sets the economics.

 

As models take on longer context and more agentic, multi-turn use, attention's share of time and energy rises. The regime where on-chip memory is strongest — small, fixed, low-batch FFN — is a shrinking slice of the total; the regime where HBC is strongest is a growing one. The weighted average tilts accordingly.

So the fair statement is a careful one. On tokens per watt and tokens per dollar, the specialist can win an individual layer, but the architecture that minimizes data movement wins the realistic mix — and wins it by more as context grows. The claim is a weighted one, not a clean sweep, and it is stronger for being stated that way.

Win the layer or win the mix. As context grows, those are increasingly different bets — and only one of them scales.

Why the future of AI depends on moving less data, not adding more compute

As AI inference workloads evolve, no single memory architecture wins every scenario. When HBC, HBM and on-chip SRAM are viewed through the lens of the roofline model, each excels in different workload regimes. While on-chip SRAM leads in low-batch FFN processing and HBM remains a versatile generalist, HBC’s ability to perform computation where data resides fundamentally reduces data movement, making it the strongest approach for attention-heavy workloads and increasingly favorable as context lengths continue to grow. 

Inference is a mix, and the mix is shifting toward exactly the work that rewards minimizing data movement. That is why the system-level conclusion survives honest accounting: not because one approach wins every regime, but because HBC wins the regimes that increasingly matter most — and wins them by more over time.

The future economics of AI infrastructure will therefore be determined not by peak compute alone, but by which architecture does the most useful work per byte moved. The next blog post in this HBC series turns from why the advantage exists to what it takes to build it at scale.




Go Deeper
If on-chip SRAM can match or beat HBC at the FFN layer level, does that mean the two approaches are roughly equivalent in practice?

No, not for a deployment that covers a broad set of AI Inference applications. On-chip SRAM wins its regime — low-batch FFN layers at tight latency — but that regime is a shrinking slice of the total workload mix as context lengthens and agentic, multi-turn use grows. The architecture that minimizes data movement wins the weighted average, and it wins by more as that average shifts toward attention's growing, irregular footprint.

What actually makes HBC structurally different from simply adding more bandwidth to an HBM-based accelerator design?

In an HBM-based accelerator design, more bandwidth still requires every parameter byte to cross the interface each time it is used — it rents more of the same expensive crossing rather than eliminating it. HBC does the bandwidth-heavy work where the data already sits, so what crosses the boundary is only compact results; the denominator shrinks, the arithmetic intensity at the boundary rises, and that is the only quantity the roofline rewards for memory-bound workloads. It is a structural change to what moves, not a larger pipe for the same movement.

What are the system-level implications of evolving AI inference workloads?

The system-level implication is already in the weighted verdict: data movement is the dominant energy cost and the binding physical limit at scale, so the architecture that reduces it structurally — rather than managing it more efficiently — holds the compounding advantage as inference workloads grow longer and more complex. 

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries ("Qualcomm"). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.

Qualcomm branded products are products of Qualcomm Technologies, Inc. and/or its subsidiaries.

About the Author
Rashid Attar
Rashid AttarSVP, Engineering, Qualcomm Technologies, Inc.
Qualcomm relentlessly innovates to deliver intelligent computing everywhere, helping the world tackle some of its most important challenges. Our leading-edge AI, high performance, low-power computing, and unrivaled connectivity deliver proven solutions that transform major industries. At Qualcomm, we are engineering human progress.

Stay connected

Get the latest Qualcomm and industry information delivered to your inbox.

Subscribe
Manage your subscription

© Qualcomm Technologies, Inc. and/or its affiliated companies.

Snapdragon and Qualcomm branded products are products of Qualcomm Technologies, Inc. and/or its subsidiaries. Qualcomm patented technologies are licensed by Qualcomm Incorporated.

Note: Certain services and materials may require you to accept additional terms and conditions before accessing or using those items.

References to "Qualcomm" may mean Qualcomm Incorporated, or subsidiaries or business units within the Qualcomm corporate structure, as applicable.

Qualcomm Incorporated includes our licensing business, QTL, and the vast majority of our patent portfolio. Qualcomm Technologies, Inc., a subsidiary of Qualcomm Incorporated, operates, along with its subsidiaries, substantially all of our engineering, research and development functions, and substantially all of our products and services businesses, including our QCT semiconductor business.

Materials that are as of a specific date, including but not limited to press releases, presentations, blog posts and webcasts, may have been superseded by subsequent events or disclosures.

Nothing in these materials is an offer to sell or license any of the services or materials referenced herein.