Manuscript Offprint
arXiv:2610.23767TileDRAM: Compiler-Controlled Tile-to-DRAM Layouts for 3D DRAM GPGPUs
Guangyuan Xu
ShanghaiTech University
Shanghai, China
Lanxuan Zhang
ShanghaiTech University
Shanghai, China
zhanglx2024@shanghaitech.edu.cn
Ziyang Li
ShanghaiTech University
Shanghai, China
Zhaoshi Li
MetaX Integrated Circuits (Shanghai)
Co., Ltd.
Shanghai, China
Abstract
Modern GPU compilers expose rich layout abstractions for mapping tensors to threads and on-chip resources, but compute-unit-local (CU-local) 3D DRAM architectures lack a corresponding abstraction for specifying how operand-tile data are arranged within the DRAM address space. Without such an abstraction, conventional placement under the existing DRAM address mapping can subject structured tile accesses to severe row-buffer conflicts.
We present TileDRAM, a compiler–runtime toolchain that introduces tile-to-DRAM layouts as a compiler-visible abstraction for DRAM placement. TileDRAM extends the GPU Linear Layout abstraction from compute-side mapping targets to DRAM placement coordinates and selects layouts per tile access signature, using recurring tile-local access behavior as the specialization unit. Since row-buffer locality depends on ordered request history, TileDRAM evaluates candidate layouts through their row-buffer behavior under fixed DRAM address mappings. Accesses under the selected layouts are realized through ordinary address arithmetic, without new address-remapping hardware or ISA support.
In full-trace replay on Accel-Sim/Ramulator2 across 108 MoE FFN cases, TileDRAM reduces the request-weighted row-conflict rate from 75.7% to 15.2% and achieves a 1.77× geomean speedup. Retargeting six traces to six 3D DRAM organizations yields a 2.20× geomean speedup under the same compiler abstraction. On an RTX 3090, address transformation adds 0.17% geomean overhead over identity.
1 Introduction
Memory bandwidth is a first-order system constraint in LLM inference. The pressure is most acute in feed-forward network (FFN) layers, where dense matrix projections dominate data movement at small batch sizes. In mixture-of-experts (MoE) models, routing activates only a few experts per token, yet each activated expert still performs dense projections over activation and weight tensors [4, 45]. On GPUs,
Yajun Ha
ShanghaiTech University
Shanghai, China

(a) Physical Structure per CU
(c) Tile-to-DRAM layout determines row-buffer locality
(b) Architecture Abstraction per CU
Figure 1. CU-local 3D DRAM architecture and tile-to-DRAM layout. (a) Hybrid-bonded DRAM stack and logic die. (b) One CU-stack pair connected through a local memory controller. (c) Row-buffer behavior under the conventional and TileDRAM layouts, showing how layout choice changes the resulting row-buffer locality.
these projections execute as grouped or batched tiled general matrix multiplications (GEMMs), whose thread blocks repeatedly fetch operand tiles as they advance along the reduction (K) dimension. These structured tile streams make high-bandwidth 3D DRAM an attractive substrate.
Prior 3D DRAM systems motivate two representative chip-wide abstractions for GPGPUs: using 3D DRAM as the GPU's global memory [16, 38] or as a GPU-wide last-level cache (LLC) [20, 54]. Using the stack as GPU global memory routes its bandwidth through the package-level endpoint instead of delivering the stack's high local bandwidth directly, while the LLC abstraction pays network-on-chip (NoC) area and power to distribute that local bandwidth GPU-wide [12]. We instead focus on the compute-unit-local (CU-local) organization motivated in Section 2.1, where each CU accesses its nearby 3D DRAM stack through a software-managed address-space aperture served by a local memory controller.
However, this high-bandwidth local path also subjects operand request streams directly to the DRAM controller. Without warp-level request coalescing and traffic attenuation through the on-chip caches, numerous fine-grained and potentially redundant memory requests can propagate to the DRAM subsystem, substantially amplifying contention among concurrent memory requests, and ultimately reducing the effective memory bandwidth available to the application. DRAM service efficiency therefore depends on the row-buffer locality of the resulting row-access sequence.
This dependence on DRAM placement reveals a missing abstraction between compiler-visible tile semantics and DRAM placement: a tile-to-DRAM layout that defines how operand-tile data are arranged within the DRAM address space. Under a fixed DRAM address mapping, the tile-to-DRAM layout determines the physical address stream presented to the memory controller and thereby governs the row-buffer locality of DRAM accesses (Figure 1).
Across our 108 full-trace MoE FFN cases, conventional placement under the fixed DRAM address mapping yields a 75.7% request-weighted row-conflict rate: successive accesses to the same row buffer target different rows, each paying a precharge and an activation.
Modern GPU software stacks offer rich tile-level abstractions for compute-side layout and data movement, but provide no corresponding abstraction for DRAM placement. Triton, CUTLASS, and CuTe provide tiled programming and layout abstractions [2, 31, 48], while cuTile, CuTe DSL, TileLang, and Gluon expose tiles directly in their programming abstractions [5, 29, 30, 35, 50]. Linear Layouts provide a formal representation of distributed tensor layouts as linear maps between labeled vector spaces over [55]. Across these systems, the operand tile is already an established compiler-visible unit for specifying layout and data movement. However, these abstractions stop at the compute side: they determine how tile data map to threads, registers, and shared memory, but not how operand-tile data are arranged within the DRAM address space. DRAM placement therefore remains outside the compiler's tile-level layout abstraction.
Prior work improves row-buffer locality by modifying the DRAM address mapping in the memory controller [19, 43, 52]. Application-specific synthesis can optimize one global mapping for a representative workload trace [43], but that mapping must therefore accommodate the heterogeneous access patterns within the trace (Section 2.3). Independently specializing these patterns at the controller side would require maintaining multiple mapping contexts and selecting the appropriate context for each request [52].
Taken together, these observations yield two key insights. First, CU-local integration provides high local bandwidth, but compiler-awareness of DRAM placement is necessary to fully utilize the bandwidth. Placement should therefore become an explicit compiler-controlled decision. Second, we identify recurring tile-local access behavior as a stable unit for specializing placement. This granularity also aligns naturally with existing GPU software abstractions, where operand tiles are already compiler-visible units for layout and data movement.
Guided by these insights, we propose TileDRAM, a compiler–runtime toolchain that introduces tile-to-DRAM layouts as a compiler-visible abstraction for compiler-controlled DRAM placement. TileDRAM represents this abstraction as tile-to-DRAM Linear Layouts: reusable -linear maps that extend the Linear Layout abstraction from compute-side resources to DRAM placement coordinates. Each layout maps logical operand-tile coordinates to DRAM placement coordinates.
Although access behavior varies with operand properties and tile configurations, the same ordered tile-local access behavior recurs across many tile instances. TileDRAM captures this with a tile access signature that combines tile configuration, operand properties, and the ordered tile-local access sequence. The tile-to-DRAM mapping itself is stateless, with each tile coordinate mapped without reference to access history. However, the induced row-buffer behavior is stateful, because whether a request hits an open row depends on preceding requests in the ordered tile-local access sequence. TileDRAM therefore evaluates candidate layouts by simulating row-buffer state transitions under each signature's ordered access, selecting the layout with the fewest row conflicts.
An offline solver selects reusable layouts for each tile access signature; the compiler applies them during address generation, and the runtime supplies each tile's placement without new address-remapping hardware or ISA support. Retargeting to different 3D DRAM organizations reselects layouts while reusing the same abstraction and compilation path.
Using NVBit traces of Triton/Gluon kernels [35, 48, 49] replayed with Accel-Sim/Ramulator2 [14, 21], TileDRAM reduces the request-weighted row-conflict rate from 75.7% to 15.2% and achieves a geomean kernel speedup across 108 MoE FFN cases. Across six full-trace streams retargeted to six 3D DRAM organizations, TileDRAM reduces row conflicts by 79.2% and achieves a geomean speedup. On an NVIDIA GeForce RTX 3090, address transformation adds 0.17% geomean overhead over identity across the 108 measured kernel configurations. Together, these results establish compiler-controlled DRAM placement as a new optimization dimension: with the DRAM address mapping left unchanged, the compiler-selected layout alone accounts for the gain.
Our main contributions can be summarized as follows:
• We introduce tile-to-DRAM layouts as a compiler-visible abstraction for DRAM placement, and represent them as tile-to-DRAM Linear Layouts: -linear maps that extend GPU Linear Layouts from compute-side resources to DRAM placement coordinates, with tile access signatures as their stable specialization unit.
- We characterize the row-buffer locality impact of conventional DRAM placement in CU-local 3D DRAM GPGPUs. Across 108 full-trace MoE FFN cases, conventional placement yields a 75.7% request-weighted row-conflict rate, showing that high local bandwidth alone does not ensure efficient DRAM service.
• We present TileDRAM, a compiler–runtime toolchain that selects a layout per tile access signature, requiring neither address-remapping hardware nor ISA support.
- We evaluate TileDRAM using a full-trace framework integrating Triton, Accel-Sim, and Ramulator2 across 108 MoE FFN cases plus a six-stream, six-organization retargeting sweep. TileDRAM consistently reduces row conflicts, improves performance, and incurs only 0.17% geomean address-transformation overhead on an RTX 3090.
2.1 3D DRAM and the CU-local Architecture
Recent 3D DRAM architectures place multi-tier DRAM structures close to logic through dense vertical integration. In the CU-local organization modeled here, the vertically integrated DRAM structure is connected to a separate logic die through face-to-face Cu–Cu hybrid bonding [16, 25, 38]. The logic die can host memory controllers and near-memory compute in recent designs [16, 24, 38]. This stacked integration provides a high-bandwidth local DRAM–logic path, while a distinct package-level endpoint connects the GPU or xPU to the stack [16, 24, 38].
This separation makes the package-level endpoint the bandwidth boundary for chip-wide access. Stratum reports 19.01–30.34 TB/s of internal bandwidth across its memory tiers [38]. Exporting a stack through an HBM-style package interface instead offers roughly 0.8–1.2 TB/s per stack in HBM3/HBM3E [11, 46], making the package-level endpoint 16–38× narrower than the modeled internal path. This gap motivates placing compute near the stack rather than exporting its bandwidth [16, 38]. Recent industrial inference hardware provides a concrete instance of this CU-local principle. OpenAI's Jalapeño adopts a memory-sliced architecture in which each compute core slice has a local view of its own HBM4 slice and the chip omits a global last-level cache, avoiding contention on a unified global memory subsystem [7]. Remote and global memory accesses use a separate general-purpose interconnect.
A transparent GPU-wide LLC offers a contrasting global abstraction: it makes the stack a shared last-level cache reachable from every CU. Requests and responses therefore traverse a chip-wide NoC and arbitration path. The associated routers, buffers, and links consume area and power even when the target cache line resides in that stack [12, 54]. More generally, GPU-global-memory and GPU-wide-LLC organizations place package-level or chip-wide interconnects on the common path to stack-resident data. A CU-local organization instead keeps common accesses within a local compute-memory domain, while retaining a separate path for remote or global communication.
Motivated by this locality-oriented organization, we model the CU-local design shown in Figure 1(b), where each CU accesses its nearby 3D DRAM stack through a local memory controller, and analyze one CU-stack pair at a time. TileDRAM's architectural boundary is a software-managed CU-local aperture in a dedicated device-physical address space. Requests to this aperture reach the local controller without virtual-address translation, warp-level request coalescing, or caching; all other addresses traverse the conventional memory hierarchy. The local stack remains a conventional banked, row-buffered DRAM system [23, 42].
2.2 MoE FFNs Present Structured Operand-Tile Streams
MoE FFNs provide a representative workload for studying DRAM placement within this CU-local boundary: their inference traffic is structured before it becomes a DRAM address stream. Routing activates a small set of expert MLPs for each token, and each activated expert applies dense matrix projections over activation and expert-weight tensors [4, 45]. After routing, the active experts can be represented as a group of dense GEMM problems with runtime per-expert row counts:

Figure 2. Routing leaves ragged per-expert row counts ; grouped GEMM turns each output tile into a CTA work unit, and dynamic scheduling places tile instances on resident CTAs of one CU (a persistent CTA may consume several). Expanding shows the separate ordered tile-local access sequences for the activation and weight operands presented at the CU-local aperture.
Here, e identifies an active expert, its routed-token count, n the output-feature coordinate, and k the hidden/reduction coordinate. Each problem retains its own , the ragged expert dimension left by routing and dispatch [32, 36].
Grouped GEMM implementations tile each problem's output space into cooperative-thread-array (CTA) work units and advance through k by repeatedly loading activation and expert-weight tiles [28, 31]. Each CTA executes on one CU at a time and generates, for each operand stream, an ordered tile-local access sequence of copy events. Dynamic scheduling assigns tile instances to CTAs, and persistent CTAs may process multiple instances. Across the grouped workload, these CTA instances jointly cover each expert problem and may reside on multiple CUs; Figure 2 follows one representative tile instance and its CTA residency on one CU. The resulting kernel presents structured, ordered tile-local access sequences at the CU-local boundary defined above (Figure 2). Runtime scheduling determines how CTAs resident on a CU interleave; this cross-tile interleaving remains separate from each tile's local access pattern.
Under the standard roofline model [33, 51], one 2-byte touch of each FP16/BF16 input and output gives the ideal per-expert GEMM intensity:
taking for one expert problem. For an FFN projection with and , for example, gives FLOP/B; our evaluated suite (Section 6.1) spans 55.4–123.0 FLOP/B.
Using published dense-compute and external-memory specifications for conventional GPUs [26, 27, 34], the corresponding GDDR/HBM ridge points are 153–295 FLOP/B. Stratum's reported 19.01–30.34 TB/s aggregate in-stack bandwidth [38] and the H100 whole-GPU peak [34] together give a local-memory ridge reference of 32.6–52.0 FLOP/B. This ratio is unchanged under proportional partitioning of compute throughput and local-memory bandwidth. The evaluated ideal-intensity band therefore lies below conventional GPU ridges but above this local-memory reference.
The local stack nevertheless retains banked, row-buffered DRAM service, so realizing the potential of this high-bandwidth path depends on the row sequence induced by DRAM placement. Across our 108 full-trace MoE FFN cases, conventional placement yields a 75.7% request-weighted row-conflict rate (Section 6.2). Figure 3(a) isolates the mechanism at tile granularity: a repeated tile-local difference maps to repeated row changes, motivating explicit compiler control through a tile-to-DRAM layout.
2.3 Stable Specialization Granularity in MoE FFNs
Application-specific synthesis constructs a workload-tuned controller mapping from representative address differences [43], shared by all tensor and kernel requests reaching the
(a)
(b)

Figure 3. The running tile makes placement and reuse visible. (a) The event strip above the tile is the complete ordered tile-local access sequence; the lower rail shows the row-buffer states it drives under the conventional map. (b) Instances at different origins share one access signature and use one tile-to-DRAM layout.
controller. Two properties of MoE FFN traffic, together with the cost of exhaustive trace-wide controller-map synthesis, make the complete trace an impractical specialization unit.
Heterogeneity appears within a single GEMM. The A (lhs) operand advances over row and reduction coordinates, the B (rhs) operand over reduction and output-feature coordinates, and both are loaded in the same reduction loop. One global mapping must therefore serve two distinct address-difference distributions [36, 37].
The complete trace also depends on runtime composition: routing sets expert-local workloads, while grouped GEMM uses runtime values to form and schedule tiles across problems [10, 32, 36]. Expert-local M changes the number of tile instances, their source-interval bases, and the interleaving of requests from different tiles [32, 36, 37].
Trace-wide synthesis is also expensive: because each outer mapping candidate induces a separate trace-dependent fixed-domain problem, exhaustively searching the evaluated mapping families against the Llama 4 full trace requires on the order of evaluations of candidate copy events before any fixed-domain solve, and every new phase, problem shape, or autotuned tile configuration presents a fresh workload-wide target (Appendix B).
By contrast, the tile-local view is invariant. Once addresses are expressed as source-interval offsets, tile configuration and operand properties fix one ordered tile-local access sequence across instance origins and evaluated M values (Figure 3). The tile access signature records these fields together with the resulting sequence, so TileDRAM selects one tile-to-DRAM layout per signature (Section 4.1).
3 Overview
TileDRAM realizes compiler-controlled DRAM placement as a target-scoped PLAN-BIND-APPLY lifecycle (Figure 4).
① The DRAM configuration fixes the DRAM organization and the controller-owned DRAM address mapping. ② A tile access signature combines tile configuration, operand properties, and the ordered tile-local access sequence. ③ Layout selection evaluates layout candidates over the ordered requests for row reuse and ranks legal candidates by fewer row conflicts, greater parallelism, and lower address-generation complexity. ④ The selected layout is combined with the DRAM configuration and packaged as a reusable tile-to-DRAM Linear Layout template. ⑤ BIND looks up the PLAN-produced template for each tile access signature. ⑥ BIND then combines the referenced template with the tile ID, source interval, and the DRAM region to construct a tile descriptor. ⑦ During execution, APPLY transforms each source address using a GF(2)-based address transform, then uses the descriptor's region base to form the backend address. ⑧ A new DRAM configuration reruns PLAN; BIND and APPLY remain unchanged.
4 Tile-to-DRAM Linear Layouts
This section develops tile-to-DRAM Linear Layouts as an -linear representation of compiler-controlled DRAM placement. For each tile access signature, we formalize how a candidate layout and the signature's ordered tile-local access sequence jointly determine row-buffer behavior. TileDRAM formulates layout selection as a row-locality optimization subject to the target DRAM address mapping and placement constraints. Each admitted signature yields a reusable tile-to-DRAM layout template for the target contract, used to bind logical tiles to concrete DRAM regions.
4.1 Tile-to-DRAM Linear Layout Object
A tile-to-DRAM Linear Layout maps each layout unit to a row-buffer domain, a row within that domain, and a within-row position. We call the hardware unit that independently holds one open row a row-buffer domain, or simply a domain; in the evaluated 3D organization, a domain is one (tier, bank) pair, but the construction needs only whatever unit the target tracks independently.
TileDRAM reuses the labeled algebra of GPU Linear Layouts for a separate logical-tile-to-DRAM placement map [55]. Triton distributed layouts map hardware-resource coordinates to logical tensor coordinates; TileDRAM maps normalized tile coordinates to DRAM placement coordinates. Each recorded access carries a source address in the global space. Let denote the source-interval base and the granularity of one access. Normalization extracts the layout-unit index and within-unit byte offset . Writing for the encoding of , a reusable tile-to-DRAM Linear Layout is the strictly linear map
The slice determines the row-buffer domain, the row within that domain, and the within-row position of the layout unit. Equal images therefore share a domain, while equal images target the same row. The domain's current open-row state determines whether a request is a hit, a conflict, or an opening miss. This expresses row locality in the same labeled-map algebra as compute-side layouts.
TileDRAM selects one layout per tile access signature, written . Here, denotes the tile configuration, comprising tile shape , pipeline-stage count (num_stages), and warp count (num_warps); denotes the operand-property tuple, comprising operand position (lhs or rhs), data type (dtype), source-stride pattern (stride), and source layout (row-major or column-major); and denotes the ordered tile-local access sequence. A representative execution yields the normalized source sequence for this signature, which is used for layout selection.
Each live layout-unit index is injectively encoded as its coordinate ; the resulting sequence is the ordered input to layout selection. We evaluate this construction on tiled GEMM under the conditions stated in Appendix A.8. Figure 5 shows the single-row-buffer projection of the Figure 3 stream under a tile-to-DRAM Linear Layout.
The formal treatment below retains the target’s independent row-buffer domains and their separate open-row states. The map in Eq. (2) defines a static DRAM placement, whereas row-buffer outcomes depend on request order. TileDRAM therefore augments the layout with ordered row-buffer state semantics.
4.2 Ordered Row-Buffer Semantics and Row-Reuse Kernel Reduction
Immediately before request i, each domain either holds one open row or is closed; write for that state, with denoting closed, and let every domain start closed. Assuming the controller retains open rows across requests, the row-buffer transition over is
An opening miss is the “row closed” case of classic memory schedulers [23] and pays one activation; a conflict requires a precharge and an activation before that request can be served; a hit requires neither. TileDRAM’s source-order objective minimizes conflicts first; the remaining selection criteria are defined in Section 4.3.

Figure 4. Overview of TileDRAM's target-scoped PLAN-BIND-APPLY lifecycle. The upper band fixes the DRAM configuration; PLAN combines it with a selected layout to package a reusable template; BIND and APPLY then perform tile binding and per-event address transformation under the fixed mapping.

Figure 5. In a single-row-buffer projection of the Figure 3 stream, a tile-to-DRAM Linear Layout places in row at columns under the same fixed address mapping, turning the conventional three conflicts into three row hits.
For a fixed domain projection , the row-reuse kernel
collects the source-coordinate differences that change neither the domain nor the row label. For request i with same-domain predecessor j, the request is an intrinsic source-order hit iff . Requests with no same-domain predecessor are opening misses. Intervening requests to other domains do not change this state. Thus, the source-order hit/miss/conflict classification is fixed by the source order and layout before scheduler effects. For the two-domain realization of this stream in Appendix A.4 (Table 1), the two same-domain predecessor differences are both 001, so the kernel contains both and yields the two hits used in the formal count. Let be the number of times difference occurs between consecutive same-domain requests. Counting hits therefore reduces to summing over K. The target organization bounds how many bits may name a domain (b) and how many may name a row within it ( ). When the joint domain-row map has rank , choosing those widths fixes , the dimension of the row-reuse kernel.
This reduction requires three properties, each formalized and proved in the appendix. Sequence recurrence: a signature determines one ordered coordinate sequence, so one representative profile applies across its admitted instances (Appendix A.8). Mapping consistency: within the admitted bit-selection-and-XOR family, DRAM placement and the target DRAM address mapping compose into an affine map whose domain- and row-equality relations agree with those resolved by the controller (Appendix A.1). Binding legality: reused bindings retain the signature's source interpretation and request formation, realize those labels consistently, and satisfy the placement bounds, so every admitted tile placement reproduces the selected row behavior (Appendix A.3).
For a fixed , row sublayouts whose joint domain-row maps have the same kernel induce the same domain-local row-equality relation, so the inner search can operate on subspaces K rather than on matrix representations of . Once the three properties hold, maximizing row hits over placements therefore reduces exactly to choosing the maximum-weight c-dimensional subspace, giving the fixed-domain objective
Rotaru et al. formulate the same subspace-selection problem [43].
The two formulations reverse which map is the decision variable: Rotaru et al. synthesize the controller address map with data placement fixed, whereas TileDRAM synthesizes data placement with the controller mapping fixed. This is a reversal of the control variable, rather than an algebraic duality. GPU Linear Layouts make that decision variable expressible: the layout algebra that compilers already use for lanes and registers now extends to row-buffer domains and rows, turning DRAM placement into a compiler-visible decision variable. Taking differences over tile-local access coordinates rather than a flat trace then lets one solution serve every tile sharing the signature.
The objective optimizes the layout under each signature’s ordered tile-local access sequence. The predecessor, hit, and coordinate-lifting derivations appear in Appendices A.4–A.5.
4.3 Layout Synthesis and Selection
Because determines predecessors within each row-buffer domain and thus , Eq. (4) is evaluated for each fixed domain projection. The resulting five-stage construction forms the layout-selection core of PLAN and produces an executable layout from and the target organization.
-
Row-buffer-domain projection. Enumerate a finite target-specific family of row-buffer-domain sublayouts . Each candidate assigns source coordinates to the row buffers independently tracked by the organization; the catalog holds bit-selection and constrained structured-XOR candidates.
-
Kernel construction. Form predecessor differences within each row-buffer domain and solve Eq. (4) for a c-dimensional row-reuse kernel K.
-
Layout completion. Reconstruct a row sublayout whose joint row-buffer-domain and row map has kernel exactly K using the sparse construction of Rotaru et al. [43], then add to bring to full column rank.
-
Physical realization. Express in the target's address basis to obtain the executable , then derive its byte-placement rule. In this basis, the fixed address mapping recovers the intended row-buffer-domain and row labels, and ordinary bit operations generate the backend offset. Retained candidates are injective on live coordinates and satisfy mapping consistency (Appendix A.1) together with alignment, capacity, CU-local aperture bounds, and allocation-policy constraints (Appendix A.3).
-
Ordered selection. Run the row-state transition of Eq. (3) on every retained layout. Selection first minimizes source-order conflicts. Among equal-conflict layouts, it favors greater source-sequence domain coverage, measured by in Appendix A.2, and then lower nonzero-term complexity of the executable address map.
The outer loop exhaustively enumerates the finite domain-projection family. For each , the exact route finds the optimum of Eq. (4), while the greedy route returns a feasible kernel (Appendix A.5). Reconstruction and legality filtering retain only candidates satisfying live-coordinate injectivity, target mapping consistency, and binding legality. The retained candidates are ranked exhaustively by the lexicographic objective (Appendices A.6–A.7) within the enumerated candidate family. The selected is realized in the target address basis and reused across legal tile placements.
5 Compiler and Runtime Realization
The target-specific tile-to-DRAM layout template developed in Section 4 is realized through the three-stage PLAN-BIND-APPLY lifecycle. PLAN selects and realizes the template. BIND spans compilation and runtime: compiler-side BIND performs template lookup, emits binding metadata, and marks the corresponding accesses for APPLY; runtime BIND uses that metadata to construct a tile descriptor for a resident tile (a concrete tile instance placed in a DRAM region). During execution, APPLY consumes that descriptor to transform each active lane's source address; GPU execution and replay use the same address transformation. In the evaluated Ampere-class realization, operand-tile loads use cp.async lowered to LDGSTS.128. Figure 6 isolates this compiler/replay address equivalence, and Appendix C shows the programmer-facing kernel entry.
5.1 Semantic Extraction and Offline Template Construction
Programming interface. TileDRAM does not require programmers to name DRAM banks, rows, or address-map bits. The programmer-facing annotation supplies problem, tile, execution, and operand properties, while the kernel body remains ordinary Triton/Gluon code (Appendix C); DRAM placement remains TileDRAM-managed rather than part of the kernel's logical tile specification.
Semantic extraction. From the tiled-kernel representation, the compiler derives the tile configuration and operand properties. A recorded representative active-lane sequence supplies the ordered tile-local access sequence; together, these fields form the tile access signature. Normalization relative to the source interval (Section 4) yields the representative normalized source sequence used by PLAN. For each admitted signature and target contract, PLAN synthesizes the layout and its target-specific layout realization, publishing one reusable template keyed by the signature.
5.2 Template Binding and Address Lowering
Tile binding (BIND). On the compiler side, BIND performs template lookup for each admitted tile access signature and records a reference to the corresponding target-specific layout template produced by PLAN, together with the rule for deriving the tile ID from the execution context. A tile ID identifies an operand tile within the current GEMM instance. For GEMM, the lhs and rhs tile IDs are represented by the operand-tile coordinates and , respectively. When the tile is placed in a DRAM region, the compiler-defined tile-ID rule yields the concrete tile ID from the current execution context, and runtime BIND obtains the referenced template from this binding metadata and combines it with the tile ID, source interval , and concrete DRAM region to construct a tile descriptor for the resident tile. Each admitted resident tile uses one tile access signature and one corresponding target-specific layout template throughout its residency, so its descriptor remains fixed and is reused by accesses to the same resident tile. Thus, lhs accesses from CTAs that differ only in , and rhs accesses from CTAs that differ only in , resolve to the same tile descriptor.
1 Tile binding

Figure 6. Compiler/replay address equivalence. Compiler-side BIND looks up the PLAN-produced layout template; runtime BIND combines it with the tile ID, source interval, and DRAM region to form a tile descriptor. The compiler-generated APPLY path and replay apply the same address transformation to active-lane source addresses, with replay using the corresponding addresses carried by asynchronous-copy events, before fixed address mapping and row-buffer service.
At execution, runtime BIND provides the descriptor for the current resident tile as input to APPLY.
Address lowering (APPLY). At compilation, the compiler places APPLY after the source pointer tensor is formed by address arithmetic for each admitted tile access. At execution, the path uses the tile descriptor for the current resident tile to transform each active lane's source address for its 16-byte LDGSTS.128 transfer. The transformation follows three ordered stages: Extract each source address relative to the source interval, yielding the layout-unit index and within-unit byte offset; Transform the layout unit through the descriptor's target-specific layout realization; and Reconstruct the backend address from the transformed unit, unchanged byte offset, and region base before the copy. Per-lane integer and pointer operations realize this software-selected placement through ordinary address generation, requiring no new address-remapping hardware or ISA support. The formal address contract is given in Appendix A.1, and the binding metadata and address-lowering sequence appear in Appendix C. Only operand accesses with a tile descriptor are redirected to their assigned DRAM regions, while ordinary loads and stores retain the conventional memory path.
5.3 Runtime Replay and Simulator Execution
Simulator replay represents each dynamic tile access as an ordered tile-local access sequence of active-lane asynchronous-copy events (LDGSTS.128) carrying source address and event metadata . Here, denotes the event's identity, destination, dependency, and request attributes. Runtime scheduling may interleave ordered tile-local access sequences from resident tiles while preserving the event order within each sequence. Each sequence carries the descriptor for its resident tile as input to the APPLY path.
For each asynchronous-copy event, the simulator evaluates the same address transformation specified by APPLY using the descriptor for the sequence's resident tile. It carries the resulting backend address together with the event metadata into replay. Replay uses the descriptor's template and placement while preserving event metadata and dependency. The production compiler lowering and simulator-side transformer implement one common address function, checked against an independent reference evaluator. Appendix D reports the covered configurations, address-function families, and byte addresses. Each transformed asynchronous-copy event forms one CU-local DRAM request in the Ramulator2 replay. Ramulator2's fixed address mapper and controller advance row-buffer state and return service latency to GPGPU-Sim, which applies it to the originating asynchronous-copy dependency.
6 Evaluation
6.1 Experimental Setup
Simulation and replay protocol. We evaluate TileDRAM with traces collected from Triton/Gluon tiled GEMM kernels using NVBit [35, 48, 49] and replayed through AccelSim/Ramulator2 [14, 21] on one CU and its paired 3D DRAM stack. Each baseline–TileDRAM pair holds the logical event trace, target organization, the initial closed-row state, and refresh/precharge policy fixed while varying DRAM placement. Layout selection uses the ordered tile-local access sequence, whereas replay counters follow FR-FCFS service order. Before replay, we verify that the compiler lowering and simulator transformer produce the same addresses as the canonical byte-address function in Appendix A.1.
The evaluation covers 108 full-trace MoE FFN cases spanning Qwen3 [40], DeepSeek-V3 [3], Qwen3.5-35B-A3B [41], Kimi K3 [15], Hunyuan-A13B [47], and Llama 4 [22], across up/gate and down projections and eight tile shapes. The same 108 kernel configurations provide hardware-cost calibration; a separate sweep covers 36 full-trace stream-organization pairs. All reported TileDRAM layouts use the same greedy selection route (Appendix A.5). We report row-conflict rates from pooled row events and speedup as the geometric mean of per-case baseline-to-TileDRAM cycle ratios. Per-case synthesis time and peak resident memory measure offline layout-selection cost; address-transformation cost is measured separately on RTX 3090 hardware. The primary 3D DRAM configuration uses 8 tiers, 16 banks, 13 row bits, and 3 column bits with RoBaTiCoCh address mapping, OpenRowPolicy, and FR-FCFS scheduling.
6.2 RQ1: Row-Buffer Cost of Conventional DRAM Placement
Figure 7 reports a 75.7% request-weighted row-conflict rate across all 108 cases. Per-case rates span 15.9–98.8% and family-pooled rates 56.9–95.1%, while the M = 64 and M = 128 groups differ little (73.9% and 76.7%). The remaining variation follows model family, projection type, and tile configuration, whose ordered tile-local access sequences induce different domain and row trajectories under the target DRAM address mapping. The baseline pathology reflects two interacting properties of GEMM execution. First, its operand-local address structure is misaligned with the controller's fixed address-field interpretation: regular tile-coordinate changes repeatedly revisit one row-buffer domain at different rows. Second, cp. async exposes these loads through a lane- and warp-interleaved issue order rather than a complete tensor-row scan, separating accesses that could reuse an open row. The mapping fixes the domain/row relation, while this issue order determines when it is exposed, producing repeated precharge-activate transitions and row conflicts. FR-FCFS can reorder ready requests, but cannot change the assigned domain or row.
(a) Baseline state by family
Conflict Hit Miss

(b) Per-case conflict distribution
O M=64 □ M=128

(c) Conflict rate vs. read latency
D ▲ U/G

Figure 7. Conventional placement across 108 full-trace MoE FFN cases. (a) Request-weighted row states by family; (b) per-case conflict distributions; and (c) conflict rate versus average read latency.
Average read latency correspondingly ranges from 41.1 to 101.9 GPU cycles and closely tracks row-conflict rate (Pearson ). Because placement shapes the row sequence each domain sees, the suite-wide prevalence of conflicts motivates treating DRAM placement as a software optimization target, while the case-level variation motivates layout selection per tile access signature.
6.3 RQ2: Row-Buffer Locality and Performance
TileDRAM converts a large fraction of suite-wide row conflicts into row hits. Across the 108 cases in Figure 8(a), the request-weighted row-conflict rate falls from 75.7% to 15.2%, an 80.0% pooled reduction, while the row-hit rate rises from 19.3% to 81.6%. Conflict rates fall for every model family, M value, and tile shape. Family-pooled TileDRAM conflict rates remain within 10.8%-21.2%, compared with 56.9%-95.1% under conventional placement. Layout selection per tile access signature therefore adapts to the access-pattern heterogeneity measured in RQ1 and produces consistently high row locality.
TileDRAM reshapes each operand stream’s row-buffer-domain and row sequence. Many same-domain requests
(a) Per-case row-conflict rate
Qwen3

Kimi K3
DeepSeek-V3

Hunyuan-A13B
Qwen3.5

Llama 4
(b) Per-case speedup
D U/G
Within each family: tile shape, left → right

Qwen3
DeepSeek-V3
Qwen3.5
Kimi K3
Hunyuan-A13B
Llama 4
Within each family: tile shape, left → right
Qwen3
DeepSeek-V3
Qwen3.5
Kimi K3
Hunyuan-A13B
Llama 4
Figure 8. Row-conflict rate and speedup for 108 MoE FFN cases. (a) Paired conflict-rate bars per case; the headers identify M and the labels below each group show . (b) Speedup grouped by family, faceted by M; within each family, color and x-position identify tile shape.
therefore hit open rows, replacing a substantial fraction of precharge-activate transitions with row-hit service. Across cases, the median reductions in ACT and PRE command counts are 78.7% and 82.2%, respectively (IQRs: 65.7–84.6% and 70.5–87.8%). Request-weighted read latency falls from 81.0 to 40.8 GPU cycles, and foreground queue wait falls from 37.3 to 24.9 cycles.
Earlier DRAM completions release asynchronous-copy dependencies sooner, reducing pooled shader memory-stall cycles from 2.086 to 0.962 billion. Speedup then spans , with a geomean across all 108 cases. Across cases, the percentage-point reduction in row-conflict rate tracks the cycle reduction in read latency ( ); relative latency and stall reductions track each other ( ), and relative stall reduction tracks speedup ( ).
The performance range reflects the fraction of each baseline execution occupied by memory stalls. For the tile, the row-conflict rate falls from 87.5% to 11.9%; memory stalls occupy 92.0% of baseline cycles, and cases using this tile achieve a geomean speedup. For , conflicts fall from 74.7% to 12.4%; with a 58.6% baseline stall share, cases using this tile achieve a geomean speedup. Thus, TileDRAM consistently shortens DRAM service, while the baseline memory-stall share sets the headroom for speedup.
6.4 RQ3: Retargeting Across 3D DRAM Organizations
TileDRAM preserves row locality when retargeted across the evaluated 3D DRAM organizations. We evaluate six full-trace FFN streams with the tile across six target organizations, for 36 paired replays. TileDRAM reselects a legal tile-to-DRAM layout for each target organization.
Across the sweep, the pooled row-conflict rate falls from 84.3% to 17.6%, a 79.2% reduction (Figure 9). These reductions yield a geomean speedup across the 36 paired replays.
Across organizations, six-stream geomean speedups range from to , while pooled-cycle speedups range from to . The resulting locality is stable across the evaluated organizations, while baseline conflict headroom and organization-specific DRAM service together determine how that locality translates into cycles. Organization-specific layout selection therefore preserves row locality even as the DRAM address mapping repartitions the physical address space.

(a) Organization-level row-conflict rate

(b) Speedup by workload
Target organization (tiers/banks, row/column bits)
Figure 9. Retargeting six full-trace FFN streams across six 3D DRAM organizations. (a) Request-weighted row-conflict rate under conventional placement and TileDRAM. (b) Perstream speedup; gray diamonds report the geometric mean across the six streams for each organization. D and U/G denote down and up/gate projections.
6.5 RQ4: Cost of Layout Synthesis and Address Transformation
RQ4 measures both the one-time cost of synthesizing a layout and the dynamic cost of realizing it through compiler-lowered address transformations. Offline synthesis runs once per case and produces the layouts for its tile access signatures; the selected templates are reused across matching dynamic tile instances. We record per-case solver wall time and peak resident memory across 108 cases. Each case compares identity address generation (H1) with the selected transformation (H2). The selected layouts lower to sparse XOR, grouped bit-permutation, and identity paths using shifts, masks, XORs, and address arithmetic. We report the overhead as median(H2)/median(H1) - 1 and aggregate the corresponding ratios geometrically (Appendix D).
Offline synthesis has a median per-case runtime of 349.0 s and a median peak resident memory of 227.0 MB. Across all 108 hardware-measured kernel configurations, the selected transformations add 0.17% geomean overhead relative to identity address generation; the median is below 0.01%, the 95th percentile is 0.57%, and the maximum is 4.93%. Overall, 104 of 108 cases lie within ±1% and 106 lie within ±2%; the Qwen3.5 down-projection configurations account for the high-overhead tail.
7 Related Work
3D DRAM Architectures and Accelerators. Vertical integration and hybrid bonding place high-bandwidth memory close to compute, motivating architectures that exploit local memory–logic bandwidth for LLM and MoE inference. -LLM co-designs heterogeneous hardware and dataflow around hybrid-bonded memory [16], HybridSpec combines such memory with heterogeneous execution and speculative decoding [9], Stratum uses tiered monolithic 3D DRAM and expert placement for MoE serving [38], and Raptor demonstrates an early-silicon 3D-DRAM accelerator [24]. At industrial scale, OpenAI's Jalapeño pairs compute core slices with local HBM4 slices in a memory-sliced organization [7]. Other designs explore hybrid NVM-DRAM, processing-in-memory, and near-memory parallelism [6, 8, 17]. These systems establish the architectural substrate for TileDRAM; TileDRAM instead exposes how operand tiles are placed within local DRAM as a compiler-visible layout decision.
Compute-Side Tile Layouts and Algebraic Layout Abstractions. Modern GPU programming systems make tiled tensor organization and layout first-class abstractions: CUT-LASS and Triton support tiled computation, while CuTe provides composable tensor layouts and layout algebra [2, 31, 48]. Graphene represents multidimensional data and threads as hierarchically tiled first-class tensors, expressing optimized GPU computations as mappings between data and thread tiles [5]. Gluon exposes explicit tensor layouts for low-level control, and Jalapeño uses Gluon to program its spatial architecture [7, 35]. Linear Layouts provide an algebraic representation for such compute-side layouts, mapping hardware-resource coordinates to logical tensor coordinates over [55]. TileDRAM extends this abstraction to DRAM placement coordinates, making tile-to-DRAM placement a compiler-visible layout decision.
Controller Mapping and Software-Directed DRAM Placement. Permutation-based interleaving distributes pages across DRAM structures [53]; Liu et al. [19] propose PAE, an XOR-based mapping that improves bank/channel parallelism while preserving row-buffer locality; SDAM exposes software-configurable mappings for a 3D memory controller [52]; Rotaru et al. synthesize an application-specific mapping over from a representative application trace [43]; and FACIL selects a mapping for each huge page [44]. These approaches treat the controller mapping as the decision variable. A single workload-specific mapping must serve heterogeneous accesses, while specializing different access patterns requires multiple mapping contexts and controller-side selection support. Software-directed placement instead chooses where data reside, at page [1], DNN-layer [39], region [13], or stream [18] granularity; the stream-based design also controls element order and cache placement in a distributed DRAM cache. TileDRAM keeps the controller mapping fixed and instead specializes data placement using recurring ordered tile-local access behavior. Many tile access signatures can therefore coexist under one mapping, with each placement realized through ordinary address arithmetic and without controller or ISA changes.
8 Conclusion and Future Work
TileDRAM shows that DRAM placement can be an explicit compiler-controlled tile layout decision while the memory-controller address mapping remains fixed. Building on recurring tile-local access behavior as a stable specialization unit, it extends GPU Linear Layouts to represent reusable tile-to-DRAM placements selected per tile access signature. The resulting compiler–runtime toolchain realizes these layouts through ordinary address arithmetic, without new ISA support or remapping hardware. Across 108 full-trace MoE FFN cases, TileDRAM reduces the request-weighted row-conflict rate from 75.7% to 15.2% and achieves a geomean speedup; retargeting across six 3D DRAM organizations yields a geomean speedup, while address transformation adds 0.17% overhead on an RTX 3090.
Our evaluation focuses on tiled GEMM within one CU-stack pair, with the 3D DRAM memory system evaluated through trace-driven Accel-Sim/Ramulator2 replay. Future work includes extending TileDRAM to other kernels, such as attention and convolution, coordinating layouts across multiple CU-stack pairs, and validating compiler-controlled placement on physical 3D DRAM systems.
References
[1] Neha Agarwal, David Nellans, Mark Stephenson, Mike O'Connor, and Stephen W. Keckler. 2015. Page Placement Strategies for GPUs within Heterogeneous Memory Systems. In Proceedings of the 20th International Conference on Architectural Support for Programming Languages and Operating Systems. Association for Computing Machinery, New York, NY, USA, 607–618. doi:10.1145/2694344.2694381
[2] Cris Cecka. 2026. CuTe Layout Representation and Algebra. NVIDIA Research Whitepaper. arXiv:2603.02298 [cs.MS] https://arxiv.org/abs/2603.02298
[3] DeepSeek-AI. 2024. DeepSeek-V3 Technical Report. arXiv:2412.19437 [cs.CL] https://arxiv.org/abs/2412.19437
[4] William Fedus, Barret Zoph, and Noam Shazeer. 2022. Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity. Journal of Machine Learning Research 23, 120 (2022), 1–39. https://jmlr.org/papers/v23/21-0998.html
[5] Bastian Hagedorn, Bin Fan, Hanfeng Chen, Cris Cecka, Michael Garland, and Vinod Grover. 2023. Graphene: An IR for Optimized Tensor Computations on GPUs. In Proceedings of the 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 3. Association for Computing Machinery, New York, NY, USA, 302–313. doi:10.1145/3582016.3582018
[6] Liu He, Fuyao Zhou, Cheng Peng, Shunan Dong, Ziming Zhang, Huazhong Yang, Yongpan Liu, Guowei Zhang, and Hongyang Jia. 2026. SHyLA: 3D-Stacked NVM-DRAM Hybrid LLM-Inference Architecture Exploiting Data and Memory Heterogeneity. In 2026 ACM/IEEE 53rd Annual International Symposium on Computer Architecture (ISCA). IEEE, 654–670. doi:10.1109/ISCA66397.2026.00058
[7] Richard Ho, Ravi Narayanaswami, and Chris Leary. 2026. You Can Just Build Things ... Chips. Hot Chips 2026. Retrieved 2026-09-06 from https://hotchips.org/program/conference/ OpenAI presentation, August 25, 2026.
[8] Haochen Huang, Shuzhang Zhong, Zhe Zhang, Shuangchen Li, Dimin Niu, Hongzhong Zheng, Runsheng Wang, and Meng Li. 2025. HD-MoE: Hybrid and Dynamic Parallelism for Mixture-of-Expert LLMs with 3D Near-Memory Processing. In 2025 IEEE/ACM International
Conference on Computer-Aided Design (ICCAD). IEEE, 1–9. doi:10.1109/ICCAD66269.2025.11240984
[9] Zongle Huang, Wenbin Jia, Yaolei Li, Xinyuan Lin, Shupei Fan, Chen Tang, Shuwen Deng, and Yongpan Liu. 2026. HybridSpec: Exploiting Hybrid-bonding Memory to Accelerate LLM Serving through Heterogeneous Architecture and Speculative Decoding. In 2026 ACM/IEEE 53rd Annual International Symposium on Computer Architecture (ISCA). IEEE, 588–603. doi:10.1109/ISCA66397.2026.00054
[10] Changho Hwang, Wei Cui, Yifan Xiong, Ziyue Yang, Ze Liu, Han Hu, Zilong Wang, Rafael Salas, Jithin Jose, Prabhat Ram, HoYuen Chau, Peng Cheng, Fan Yang, Mao Yang, and Yongqiang Xiong. 2023. Tutel: Adaptive Mixture-of-Experts at Scale. Proceedings of Machine Learning and Systems 5 (2023), 269–287. https://proceedings.mlsys.org/paper_files/paper/2023/hash/5616d34cf8ff73942cfd5aa922842556-Abstract-mlsys2023.html
[11] JEDEC Solid State Technology Association 2025. JESD238B.01: High Bandwidth Memory DRAM (HBM3). JEDEC Solid State Technology Association. Retrieved 2026-09-06 from https://www.jedec.org/standards-documents/docs/jesd238b01
[12] Andrew B. Kahng, Bin Li, Li-Shiuan Peh, and Kambiz Samadi. 2009. ORION 2.0: A Fast and Accurate NoC Power and Area Model for Early-Stage Design Space Exploration. In Proceedings of the Design, Automation and Test in Europe Conference and Exhibition. IEEE, Piscataway, NJ, USA, 423–428. doi:10.1109/DATE.2009.5090700
[13] Soheil Khadirsharbiyani, Jagadish Kotra, Karthik Rao, and Mahmut Taylan Kandemir. 2022. Data Convection: A GPU-Driven Case Study for Thermal-Aware Data Placement in 3D DRAMs. Proceedings of the ACM on Measurement and Analysis of Computing Systems 6, 1, Article 7 (2022), 25 pages. doi:10.1145/3508027
[14] Mahmoud Khairy, Zhesheng Shen, Tor M. Aamodt, and Timothy G. Rogers. 2020. Accel-Sim: An Extensible Simulation Framework for Validated GPU Modeling. In Proceedings of the 47th Annual International Symposium on Computer Architecture. IEEE Computer Society, Los Alamitos, CA, USA, 473–486. doi:10.1109/ISCA45697.2020.00047
[15] Kimi Team. 2026. Kimi K3: Open Frontier Intelligence. arXiv:2607.24653 [cs.CL] https://arxiv.org/abs/2607.24653
[16] Cong Li, Yihan Yin, Xintong Wu, Jingchen Zhu, Zhutianya Gao, Dimin Niu, Qiang Wu, Xin Si, Yuan Xie, Chen Zhang, and Guangyu Sun. 2025. H²-LLM: Hardware-Dataflow Co-Exploration for Heterogeneous Hybrid-Bonding-based Low-Batch LLM Inference. In Proceedings of the 52nd Annual International Symposium on Computer Architecture. Association for Computing Machinery, New York, NY, USA, 194–210. doi:10.1145/3695053.3731008
[17] Hongyi Li, Songchen Ma, Huanyu Qu, Weihao Zhang, Jia Chen, Junfeng Lin, Fengbin Tu, and Rong Zhao. 2026. Bridging Efficiency and Scalability in LLM System via 3D Hybrid PIM with 2D In-Transit Computation. In 2026 ACM/IEEE 53rd Annual International Symposium on Computer Architecture (ISCA). IEEE, 2615–2631. doi:10.1109/ISCA66397.2026.00182
[18] Yiwei Li, Boyu Tian, Yi Ren, and Mingyu Gao. 2024. Stream-Based Data Placement for Near-Data Processing with Extended Memory. In Proceedings of the 57th IEEE/ACM International Symposium on Microarchitecture. 1648–1662. doi:10.1109/MICRO61859.2024.00120
[19] Yuxi Liu, Xia Zhao, Magnus Jahre, Zhenlin Wang, Xiaolin Wang, Yingwei Luo, and Lieven Eeckhout. 2018. Get Out of the Valley: Power-Efficient Address Mapping for GPUs. In Proceedings of the 45th Annual International Symposium on Computer Architecture. IEEE Computer Society, Los Alamitos, CA, USA, 166–179. doi:10.1109/ISCA.2018.00024
[20] Gabriel H. Loh and Mark D. Hill. 2012. Supporting Very Large DRAM Caches with Compound-Access Scheduling and MissMap. IEEE Micro 32, 3 (2012), 70–78. doi:10.1109/MM.2012.25
[21] Haocong Luo, Yahya Can Tuğrul, Fatma Nisa Bostanci, Ataberk Olgun, Abdullah Giray Yaglıkçı, and Onur Mutlu. 2024. Ramulator 2.0: A
Modern, Modular, and Extensible DRAM Simulator. IEEE Computer Architecture Letters 23, 1 (2024), 112–116. doi:10.1109/LCA.2023.3333759
[22] Meta AI. 2025. The Llama 4 Herd: The Beginning of a New Era of Natively Multimodal AI Innovation. Retrieved 2026-08-28 from https://ai.meta.com/blog/llama-4-multimodal-intelligence/
[23] Onur Mutlu and Thomas Moscibroda. 2007. Stall-Time Fair Memory Access Scheduling for Chip Multiprocessors. In Proceedings of the 40th Annual IEEE/ACM International Symposium on Microarchitecture (MICRO). 146–160. doi:10.1109/MICRO.2007.21
[24] Prashant J. Nair, Ramyad Hadidi, Subramani Ganesh, Sangamesh Kodge, Shubhankit Rathore, Neil Thanawala, Nikitha Reddy, Gyanesh Saharia, Vinayak Patankar, Arun Tiruvur, Nithesh Kurella, and Sudeep Bhoja. 2026. Early Silicon of Raptor: The First 3D-DRAM Accelerator for Generative Inference. In 2026 ACM/IEEE 53rd Annual International Symposium on Computer Architecture (ISCA). IEEE, 2632–2647. doi:10.1109/ISCA66397.2026.00183
[25] Dimin Niu, Shuangchen Li, Yuhao Wang, Wei Han, Zhe Zhang, Yijin Guan, Tianchan Guan, Fei Sun, Fei Xue, Lide Duan, Yuanwei Fang, Hongzhong Zheng, Xiping Jiang, Song Wang, Fengguo Zuo, Yubing Wang, Bing Yu, Qiwei Ren, and Yuan Xie. 2022. 184QPS/W 64Mb/mm² 3D Logic-to-DRAM Hybrid Bonding with Process-Near-Memory Engine for Recommendation System. In 2022 IEEE International Solid-State Circuits Conference (ISSCC) (Digest of Technical Papers - IEEE International Solid-State Circuits Conference, Vol. 2022-February). IEEE, 462–464. doi:10.1109/ISSCC42614.2022.9731694
[26] NVIDIA 2021. NVIDIA A100 Tensor Core GPU Datasheet. NVIDIA. Retrieved 2026-08-28 from https://www.nvidia.com/content/dam/en-zz/Solutions/Data-Center/a100/pdf/nvidia-a100-datasheet-us-nvidia-1758950-r4-web.pdf
[27] NVIDIA 2022. NVIDIA Ada GPU Architecture. NVIDIA. Retrieved 2026-08-28 from https://images.nvidia.com/aem-dam/Solutions/geforce/ada/nvidia-ada-gpu-architecture.pdf
[28] NVIDIA 2026. CUDA Programming Guide. NVIDIA. Retrieved 2026-09-06 from https://docs.nvidia.com/cuda/cuda-programming-guide/
[29] NVIDIA 2026. CuTe DSL: CUTLASS Python Overview. NVIDIA. Retrieved 2026-09-03 from https://docs.nvidia.com/cutlass/latest/media/docs/pythonDSL/overview.html
[30] NVIDIA 2026. cuTile Python Documentation. NVIDIA. Retrieved 2026-09-03 from https://docs.nvidia.com/cuda/cutile-python/
[31] NVIDIA 2026. CUTLASS GEMM API. NVIDIA. Retrieved 2026-09-06 from https://docs.nvidia.com/cutlass/latest/media/docs/cpp/gemm_api.html
[32] NVIDIA 2026. CUTLASS Grouped Kernel Schedulers. NVIDIA. Retrieved 2026-09-06 from https://docs.nvidia.com/cutlass/latest/media/docs/cpp/grouped_scheduler.html
[33] NVIDIA 2026. GPU Performance Background User's Guide. NVIDIA. Retrieved 2026-08-28 from https://docs.nvidia.com/deeplearning/performance/dl-performance-gpu-background/index.html
[34] NVIDIA 2026. NVIDIA H100 Tensor Core GPU. NVIDIA. Retrieved 2026-08-28 from https://www.nvidia.com/en-us/data-center/h100/
[35] OpenAI 2026. Introduction to Gluon. OpenAI. Retrieved 2026-08-28 from https://triton-lang.org/main/getting-started/tutorials/gluon/intro.html
[36] OpenAI 2026. Triton Group GEMM Tutorial. OpenAI. Retrieved 2026-09-06 from https://triton-lang.org/main/getting-started/tutorials/08-grouped-gemm.html
[37] OpenAI 2026. Triton Matrix Multiplication Tutorial. OpenAI. Retrieved 2026-08-28 from https://triton-lang.org/main/getting-started/tutorials/03-matrix-multiplication.html
[38] Yue Pan, Zihan Xia, Po-Kai Hsu, Lanxiang Hu, Hyungyo Kim, Janak Sharda, Minxuan Zhou, Nam Sung Kim, Shimeng Yu, Tajana Rosing, and Mingu Kang. 2025. Stratum: System-Hardware Co-Design with Tiered Monolithic 3D-Stackable DRAM for Efficient MoE Serving. In
Proceedings of the 58th IEEE/ACM International Symposium on Microarchitecture. Association for Computing Machinery, New York, NY, USA, 1–17. doi:10.1145/3725843.3756043
[39] Shailja Pandey and Preeti Ranjan Panda. 2024. NeuroTAP: Thermal and Memory Access Pattern-Aware Data Mapping on 3D DRAM for Maximizing DNN Performance. ACM Transactions on Embedded Computing Systems 23, 6 (2024), 96:1–96:30. doi:10.1145/3677178
[40] Qwen Team. 2025. Qwen3 Technical Report. arXiv:2505.09388 [cs.CL] https://arxiv.org/abs/2505.09388
[41] Qwen Team. 2026. Qwen3.5-35B-A3B. Hugging Face model card. Retrieved 2026-09-09 from https://huggingface.co/Qwen/Qwen3.5-35B-A3B
[42] Scott Rixner, William J. Dally, Ujval J. Kapasi, Peter Mattson, and John D. Owens. 2000. Memory Access Scheduling. In Proceedings of the 27th Annual International Symposium on Computer Architecture (ISCA). 128–138. doi:10.1145/339647.339668
[43] Andrei Rotaru, Oliver Bachtler, Lukas Steiner, Matthias Jung, Sven O. Krumke, and Norbert Wehn. 2025. A Mathematical Model for XOR-Based Application Specific DRAM Address Mapping Schemes. In Proceedings of the International Symposium on Memory Systems. Association for Computing Machinery, New York, NY, USA, 105–120. doi:10.1145/3767110.3767117
[44] Seong Hoon Seo, Junghoon Kim, Donghyun Lee, Seonah Yoo, Seokwon Moon, Yeonhong Park, and Jae W. Lee. 2025. FACIL: Flexible DRAM Address Mapping for SoC-PIM Cooperative On-device LLM Inference. In Proceedings of the IEEE International Symposium on High Performance Computer Architecture. IEEE Computer Society, Los Alamitos, CA, USA, 1720–1733. doi:10.1109/HPCA61900.2025.00127
[45] Noam Shazeer, Azalia Mirhoseini, Krzysztof Maziarz, Andy Davis, Quoc Le, Geoffrey Hinton, and Jeff Dean. 2017. Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer. In International Conference on Learning Representations. OpenReview.net, Toulon, France. https://openreview.net/forum?id=B1ckMDqlg
[46] SK hynix 2024. SK hynix Begins Volume Production of Industry's First HBM3E. SK hynix. Retrieved 2026-08-28 from https://news.skhynix.com/sk-hynix-begins-volume-production-of-industry-first-hbm3e/
[47] Tencent Hunyuan Team. 2025. Hunyuan-A13B Technical Report. Retrieved 2026-09-06 from https://github.com/Tencent-Hunyuan/Hunyuan-A13B/blob/main/report/Hunyuan_A13B_Technical_Report.pdf
[48] Philippe Tillet, H. T. Kung, and David Cox. 2019. Triton: An Intermediate Language and Compiler for Tiled Neural Network Computations. In Proceedings of the 3rd ACM SIGPLAN International Workshop on Machine Learning and Programming Languages. Association for Computing Machinery, New York, NY, USA, 10–19. doi:10.1145/3315508.3329973
[49] Oreste Villa, Mark Stephenson, David Nellans, and Stephen W. Keckler. 2019. NVBit: A Dynamic Binary Instrumentation Framework for NVIDIA GPUs. In Proceedings of the 52nd Annual IEEE/ACM International Symposium on Microarchitecture. Association for Computing Machinery, New York, NY, USA, 372–383. doi:10.1145/3352460.3358307
[50] Lei Wang, Yu Cheng, Yining Shi, Zhiwen Mo, Zhengju Tang, Wenhao Xie, Tong Wu, Lingxiao Ma, Yuqing Xia, Jilong Xue, Fan Yang, and Zhi Yang. 2026. TileLang: Bridge Programmability and Performance in Modern Neural Kernels. In The Fourteenth International Conference on Learning Representations. https://openreview.net/forum?id=Jb1WkNSfUB
[51] Samuel Williams, Andrew Waterman, and David Patterson. 2009. Roofline: An Insightful Visual Performance Model for Multicore Architectures. Commun. ACM 52, 4 (2009), 65–76. doi:10.1145/1498765.1498785
[52] Jialiang Zhang, Michael M. Swift, and Jing Jane Li. 2022. Software-defined Address Mapping: A Case on 3D Memory. In Proceedings of the 27th ACM International Conference on Architectural Support for Programming Languages and Operating Systems. Association for Computing Machinery, New York, NY, USA, 70–83. doi:10.1145/3503222.3507774
[53] Zhao Zhang, Zhichun Zhu, and Xiaodong Zhang. 2000. A Permutation-Based Page Interleaving Scheme to Reduce Row-Buffer Conflicts and Exploit Data Locality. In Proceedings of the 33rd Annual ACM/IEEE International Symposium on Microarchitecture. Association for Computing Machinery, New York, NY, USA, 32–41. doi:10.1145/360128.360134
[54] Xia Zhao, Almutaz Adileh, Zhibin Yu, Zhiying Wang, Aamer Jaleel, and Lieven Eeckhout. 2019. Adaptive Memory-Side Last-Level GPU Caching. In Proceedings of the 46th International Symposium on Computer Architecture. Association for Computing Machinery, New York, NY, USA, 411–423. doi:10.1145/3307650.3322235
[55] Keren Zhou, Mario Lezcano-Casado, Adam P. Goucher, Akhmed Rakhmati, Jeff Niu, Justin Lebar, Pawel Szczerbuk, Peter Bell, Phil Tillet, Thomas Raoux, and Zahi Moudallal. 2026. Linear Layouts: Robust Code Generation of Efficient Tensor Computation Using . In Proceedings of the 31st ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 1. Association for Computing Machinery, New York, NY, USA, 132–146. doi:10.1145/3760250.3762221
A Tile-to-DRAM Layout Details
This appendix formalizes the source interface for tile access, the semantic tile-to-DRAM Linear Layout in a fixed target contract, the layout's resident tiles and their DRAM regions, the intrinsic ordered row-buffer trajectory and its physical realization, and the reconstruction of a realizable layout from its projected row-reuse kernel. The projected reduction, fixed-domain solver interface, kernel-to-layout reconstruction, and finite-catalog correctness are developed in Appendices A.4–A.7.
Throughout this appendix, we fix one target contract and one tile access signature . Thus the access quantum, request-formation policy, target mapping, selection parameters, and placement constraints are standing assumptions rather than arguments repeated in every expression. We write for the fixed target DRAM address mapping.
A.1 Tile-to-DRAM Semantics
Normalized access sequence. A signature identifies the tile configuration , the operand-property tuple , and the ordered tile-local access sequence . For one representative access sequence of source addresses over interval , where divides , access granularity gives
The fixed signature , under the standing request-formation policy, determines both the source interpretation and event order. Hence maps each observed unit index directly to its normalized coordinate, and S is the only sequence consumed by layout selection.
We require to be injective on the observed indices .
A different tile placement uses its own source base , but every admitted instance of the fixed signature yields the same sequence . Thus absolute addresses and runtime interleaving may change without changing the input to offline layout selection associated with that tile access signature.
Definition 1 (tile-to-DRAM Linear Layout). For , a reusable tile-to-DRAM Linear Layout is the block-structured map
The three blocks select the residual address coordinate, row-buffer domain, and row within that domain. If the candidate uses independent domain bits and additional row bits, then , , and , with and . We assume and , as required by the completion in Appendix A.6. Every retained executable layout has full column rank; Appendix A.6 constructs such a completion.
Lemma 2 constructs one invertible target-basis matrix whose domain and row blocks preserve the fixed mapper's domain and row equality relations.
We use directly for the reusable semantic layout. For this layout, denotes one tile-placement record: source interval and region base B. The fixed context and signature need not be encoded explicitly in either object.
Proposition 1 (compiler composition closure). Let P denote the compiler’s composed Linear Layout from compute coordinates to the normalized coordinates . Then , its three output blocks, and are Linear Layouts. Distinct coordinates in remain distinct exactly when
Full column rank of is sufficient.
Proof. Linear maps remain linear under composition and output slicing [55, Definition 4.2 and Proposition 4.8]; the invertible basis change preserves rank and kernel. The restriction is injective precisely when its image intersects the kernel only at zero.
Canonical byte-address placement. The target supplies a fixed output translation and a byte-placement function whose outputs are -aligned byte offsets. For each source address , the bound layout computes
The within-unit byte offset is retained after layout placement. A legal tile placement keeps it within the byte/column position of the same target domain and row; must also be in bounds and injective on the translated live image. Request formation converts the resulting byte address into a request for the fixed DRAM address mapping dram.
Lemma 1 (output-translation invariance). For a fixed output translation t,
Thus output translation preserves injectivity, pairwise differences, and equality. Under the affine mapping-consistency conditions below, it only relabels mapped domains and rows, so row-state classification remains a property of and .
Definition 2 (ordered row-buffer semantics). A bound instance is request-formation preserving when it forms one physical request for each normalized event, in the same source order and with as its coordinate ancestry. Physical addresses may vary across tile placements; the common ordered sequence remains S. Define the semantic domain and row labels
Immediately before request , is the open row of domain , with denoting a closed domain. Starting from , request has class
Let
The two components count conflicts and opening misses in Eq. (6); the remaining events are hits. Full-trace replay applies controller scheduling, refresh, queueing, and timing to the complete interleaved request sequence. Thus, rowcnt characterizes the intrinsic source-order row-buffer behavior of the semantic layout.
Definition 3 (mapping consistency). For physical request , write , where and are its resolved physical domain and row. A bound instance is mapping-consistent when, for every pair of live requests,
(7)
The first equivalence says that names exactly the physical row buffers; the second says that names rows within each such buffer. This pairwise condition is checked on the finite admitted live image.
Proposition 2 (semantic-mapped-label source-order equivalence). Let be a mapping-consistent, request-formation-preserving tile placement of . Apply the transition in Eq. (6) to its mapped labels ( ) and call the resulting conflict and miss counts
rowcnt (S, , ). Then
The semantic and physical domain labels agree up to the bijective relabeling in Definition 3.
Proof. Both executions start with all domains closed. By Eq. (7), they select corresponding domains and test the same within-domain row equality at request i. They therefore emit the same event and open corresponding rows. Induction proves identical event sequences and preserves the realized domain labels up to relabeling.
Lemma 2 (affine target factorization). Suppose the within-unit byte offset affects only the byte/column position, while byte placement, request formation, and the fixed DRAM address mapping make the physical row-buffer-domain and row labels affine in on the admitted image. Let and be their linear parts, with and .
The two rank conditions allow these row spaces to be extended to form an invertible target-basis matrix G. Partition its rows according to the residual, domain, and row outputs and require:
For from Eq. (5), equality of physical row-buffer domains is exactly equality, and within one domain physical row equality is exactly equality. Affine constants only relabel these outputs. Definition 3 directly checks this correspondence on the admitted live requests.
Proof.
The two row-space equalities make preserve exactly the physical domain-equality relation and make preserve exactly the joint domain-row equality relation. Since , these tests become equality of and, within a fixed domain, equality of . Hence equality is exactly equality, and, after fixing that domain output, equality is exactly equality. Lemma 1 removes the affine translation from both equality tests.
Thus same- predecessors are exactly predecessors in the same physical row-buffer domain, and equality within a domain is exactly physical row equality. The weighted kernel therefore counts the intrinsic source-order row hits of every certified realization, while Proposition 2 preserves the source-order domain labels and row-buffer events.
A.2 Source-Sequence Domain Coverage
Source-sequence domain coverage ranks layouts after source-order row conflicts have been minimized. It counts the independent row-buffer domains exercised by the complete source sequence.
Definition 4 (source-sequence domain coverage). For semantic labels and ordered sequence , assume .
Define the realized domain set and its coverage score as
The score counts the distinct domains retained by the complete source-order sequence. Under the closed-domain initial state of Definition 2, this same distinct-domain count is also the opening-miss count established in Appendix A.4. The selector therefore uses row conflicts as its locality criterion and this coverage score as the next criterion. Let
where the minimization ranges over the retained candidate family. Selection then chooses
before minimizing the executable map’s nonzero-term complexity. Thus, among layouts with identical conflict counts, the selected layout exercises the largest number of distinct domains in the source sequence. The score depends only on , and Proposition 2 preserves it in every certified physical realization.
A.3 Legal Placement and Allocation Invariance
A reusable layout must assign distinct live bytes to distinct backend addresses and remain valid across the region bases admitted by the allocation policy.
Proposition 3 (address uniqueness). Let have full column rank. Suppose is injective on the observed unit indices, the region base and byte placement are -aligned, and is injective on the translated live image. If the placement remains in bounds, then the byte-address function
addr( ; , ) is injective over live layout units and their within-unit byte offsets.
Proof. If two backend addresses are equal, alignment and reduction modulo give . Cancelling the common base and offset, then using injectivity of , gives . The translation cancels, and
has full column rank, so . Injectivity of then gives the same source-relative unit; together with , this gives the same source byte.
Definition 5 (legal allocation placement class). For a semantic layout W, let be the set of tile placements whose source interpretation and access quantum match the fixed signature, whose byte placement satisfies Proposition 3 and remains inside the reserved CU-local aperture, and whose physical mapping satisfies Definition 3. DRAM regions of simultaneously resident tiles must be disjoint.
A candidate family is request-formation stable when every is request-formation preserving in the sense of Definition 2, for every W in the family.
Let denote the finite certified catalog retained by the declared synthesis policy. Every has a nonempty set and stable request formation.
Corollary 1 (allocation invariance). For any and any two tile placements ,
The source-sequence domain-coverage score also agrees across the class.
Proof. Apply Proposition 2 to each realization.
Proposition 4 (periodic binding criterion). Suppose is a positive multiple of and the fixed target mapping repeats every bytes up to one-to-one relabeling of domains and rows. If , then replacing by any base in the same residue class modulo yields another tile placement in , provided that the resulting range stays inside the CU-local aperture. Placements of simultaneously resident tiles are legal when their reserved regions are also disjoint.
Formally, “up to relabeling” requires that, for each admitted base shift , fixed bijections on the realized domain labels and on the realized rows within each domain transform the resolved labels at address into those at for every live address .
Proof. Changing the base by a multiple of preserves g-alignment and only relabels domains and rows, preserving their equality relations and hence Definition 3. The shift is bi-jective, so address uniqueness is preserved; the aperture and disjoint-range conditions supply the remaining placement requirements.
Instantiation. The certified period of each admitted bit-field address mapping is one row-block span. Starting from the base residue used during synthesis, aligning each allocation extent to preserves that residue for all contiguously packed allocations while keeping their ranges disjoint. Per-organization values of are recorded in Appendix D.
A.4 Projected Row-Reuse Kernel Reduction
For the representative source-coordinate sequence S defined above, let and represent the domain and row sublayouts of Definition 1. Assume . Once is fixed, each domain's first request is fixed; the remaining choice is whether later same-domain requests reuse its open row. The sequence partitions into domain-local subsequences. For every non-first request, denotes the preceding request in the same domain. Under Definition 2's closed initial state, the intrinsic source-order opening-miss count is
This count is independent of . For a fixed , opening misses and coverage are therefore fixed; only the hit/conflict split varies with .
Because and have the same domain label, their difference obeys
Collecting equal differences produces
Summing these weights over the kernel gives the intrinsic hit count
Since every request is a miss, a hit, or a conflict,
For any completed layout inducing , these partial-layout counts are exactly and used by rowcnt(). Equations (12)–(14) prove that, for fixed , minimizing conflicts is exactly equivalent to maximizing the weighted kernel objective.
Thus the row block affects the fixed-domain score only through its row-reuse kernel ; two row blocks inducing the same capture the same weighted differences. If the joint domain-row map has rank and , then , and the fixed-domain problem is
Equation (15) is the candidate-conditioned fixed-domain kernel objective used by TileDRAM. For each candidate, the target field widths and legal-placement constraints fix the admissible , and . The next subsection gives the reduced-coordinate solver interface and its lifting correctness.
The first request to each domain is an opening miss. The two remaining requests contribute the same difference 001, so choosing captures weight two and makes both intrinsic source-order hits.
A.5 Fixed-Domain Solver Interface
The solver operates only on the weighted same-domain predecessor differences.
After merging equal differences, choose whose columns form a basis of . The solver represents each difference by its unique coordinate and searches a -dimensional reduced subspace :
The resulting weighted-subspace interface is the one studied by Rotaru et al. [43, §6.1–6.2 and §7]. TileDRAM uses the cited linearized Problem 3 formulation for the exact route and its greedy construction for the greedy route. The exact route optimizes a fixed on the complete positive-weight support; the greedy route is heuristic. If the returned generators span fewer than dimensions, they are extended to an algebraically feasible -dimensional subspace before lifting. Nonnegative weights ensure that this completion cannot reduce the objective. The exact route retains the highest-scoring such completion, whereas the greedy route applies its feasible completion rule.
Proposition 5 (coordinate reduction and lifting correctness). Assume and choose as above. The map is a bijection from the -dimensional subspaces of to the feasible subspaces in Eq. (15), and it preserves their objective values. Consequently, the cited exact solution lifts to a fixed- optimum, while a greedy solution lifts to a feasible fixed- solution.
Proof.
Because has full column rank, is a bijection onto and preserves subspace dimension. The displayed objective identity then preserves objective order after equal differences have been merged.
A.6 Kernel-to-Layout Reconstruction
Proposition 6 (row-block reconstruction). Let have dimension , assume has full row rank , and set . Then there is a row block such that
Table 1. The two-domain realization of the running stream written as the predecessor-difference calculation used by the solver.
| event | intrinsic event | ||||
|---|---|---|---|---|---|
| miss | |||||
| hit | |||||
| miss | |||||
| hit |
Proof. From , it follows that . Extend a basis of to a basis of using additional vectors, and use those vectors as the rows of . Then , whose orthogonal complement is .
To complete the semantic map, Proposition 6 provides a joint domain-row block of rank . Choose c residual-address rows that add the remaining independent directions and place them in . This gives
Basis extension guarantees this full-rank algebraic completion. For , a candidate may add rank-redundant residual rows; the finite catalog retains only completions satisfying the target embedding and sparsity constraints. Lemma 2 expresses each retained completion as the executable map .
A.7 Certified-Catalog Selection
Domain-block enumeration followed by kernel and residual-address reconstruction generates layout candidates. Target realization, mapping-consistency, and binding-legality checks retain the single finite certified catalog defined above.
The complete lexicographic selection functional is
The first coordinate minimizes source-order row conflicts. The second favors greater source-sequence domain coverage from Eq. (9), and the last is a nonzero-term complexity proxy for the executable linear address map.
Proposition 7 (catalog-relative exactness). Under Definition 4's assumption , let
be nonempty. By its definition, every member is certified, preserves request formation, and has a nonempty legal tile-placement set. Exhaustive comparison returning
is exact for the lexicographic objective over the emitted catalog. With the exact inner route on the complete positive-weight support, the kernel emitted for each retained is also optimal for its fixed-domain algebraic problem. With the greedy inner route, each emitted kernel is feasible and exhaustive comparison remains exact over the resulting catalog.
Proof. Definition 2 supplies the common ordered sequence, and Proposition 2 makes each certified realization agree on the conflict coordinate; Definition 4 and mapping consistency preserve the source-sequence domain-coverage score. The final coordinate is computed directly from the emitted physical map. Proposition 5 supplies the exact or feasible fixed-domain result for the chosen inner route. Since the catalog is finite and nonempty, exhaustive comparison attains the catalog's lexicographic minimum.
A.8 Applicability Conditions
The construction and its source-order analysis apply to recurring tiled access patterns whose admitted instances satisfy three conditions; tiled GEMM is the evaluated instance in this paper.
(C1) Recurring ordered sequence.
For every , the source interpretation yields the same coordinate sequence for all , and request formation preserves the one-request-per-event correspondence, event order, and coordinate ancestry. This makes the row-state trajectory well defined and amortizes the cost of one offline selection across the recurring tile placements.
(C2) Linear live-coordinate representation. The source interpretation maps live layout units injectively into , and the compiler expresses the resulting coordinate projection as a Linear Layout. With a selected full-column-rank tile-to-DRAM Linear Layout, distinct live units therefore remain distinguishable under composition.
(C3) Certified target realization. On the admitted live image, the within-unit byte offset affects only byte/column position, while byte placement and the fixed DRAM address mapping produce affine domain and row labels with the rank conditions of Lemma 2 and the consistency of Definition 3. The modeled intrinsic source-order state transition retains one open row per domain until a request to that domain replaces it.
Together, these conditions justify the ordered row-buffer semantics and fixed-domain kernel reduction. Given a nonempty finite certified catalog, the selector is well-defined. For an emitted c-dimensional kernel, its captured same-domain predecessor-difference weight is exactly the source-order row reuse from Eq. (13).
B Controller-Side DRAM Address Mapping: Configuration Feasibility, Construction Scale, and Performance
Controller-side address mapping supplies one global interpretation for every request served by the target memory controller. We evaluate fixed global hashes that apply the same static bit-mixing rule to every operand stream, regardless of its operand properties or tile access signature. TileDRAM retains the target controller mapping and selects a tile-to-DRAM layout for each tile access signature.
The experiments below separate construction cost from mapping effectiveness. Section B.2 evaluates the Rotaru-style exhaustive full-trace search, whose outer mapping choice makes trace construction candidate-dependent.
Table 2. Feasibility and replay results for fixed global controller mappings on a Llama 4 up/gate projection with tile (64, 128, 64). Replay entries use the refresh-on t8/b16/row13/col3 organization and report cycle-level Ramulator2 results relative to identity. Higher conflict reduction and speedup are better.
| Mapping pattern | Address mixing | Validation | Recorded evidence |
|---|---|---|---|
| Bank ← Bank ⊕ LowRow | Low row bits into bank bits | Replay | 0.0000% conflict reduction; 1.0000×. |
| Bank ← Bank ⊕ MidRow | Mid row bits into bank bits | Replay | 0.0000% conflict reduction; 1.0000×. |
| Bank ← Bank ⊕ LowCol | Low column bits into bank bits | Replay | 0.0892% conflict reduction; 1.0001×. |
| Bank ← Bank ⊕ LowRow ⊕ LowCol | Low row and column bits into bank bits | Replay | 0.0892% conflict reduction; 1.0001×. |
| Row ← Row ⊕ LowBank | Low bank bits into row bits | Replay | 0.0000% conflict reduction; 1.0000×. |
| Row ← Row ⊕ LowCol | Low column bits into row bits | Replay | 0.0000% conflict reduction; 1.0000×. |
| Compound bank/row XOR | Column-to-bank plus bank-to-row mixing | Replay | 0.0892% conflict reduction; 1.0001×. |
| MOP4CLXOR-style | Column-driven mapped-field swizzle | Replay | 0.0026% conflict reduction; 1.0000×. |
B.1 Fixed Global Mappings: Closure and Replay Feasibility
The fixed-hash family covers row-to-bank, column-to-bank, bank-to-row, and column-to-row XOR mappings, compound row/bank swizzling, and a field swizzle styled after Ramulator2's MOP4CLXOR address mapper [21]. Every recipe applies one frozen rule to both operand access sequences. Compilation checks whether the rule closes over the live address domain; replay-complete entries then execute through the same Accel-Sim/Ramulator2 path as conventional placement and TileDRAM. The fixed-hash replay uses a Llama 4 up/gate projection with tile (BM, BN, BK) = (64, 128, 64) under the t8/b16/row13/col3 organization with open-row FR-FCFS. The conventional branch uses the identity RoBaTiCoCh mapping (Row-Bank-Tier-Column-Channel), realized by Ramulator2's RoBaRaCoCh mapper.
The best evaluated replay-complete fixed global recipes reduce conflicts by only 0.0892% and improve performance by 0.0144%. The fixed mappings encode one address-field transformation for the complete access sequence, whereas TileDRAM selects placement from the ordered accesses of each signature.
B.2 Cost of Rotaru-Style Exhaustive Full-Trace Synthesis
The multi-bank mapping synthesis of Rotaru et al. [43] uses a complete workload trace as its specialization unit and treats the domain mapping as an outer search variable. After fixing an outer mapping, the trace is compressed into weighted same-domain predecessor differences for the fixed-domain Problem 3 solver. Changing the outer mapping changes request-domain membership, same-domain predecessors, and therefore the resulting difference histogram. Trace construction is thus candidate-dependent: a separate fixed-domain Problem 3 instance must be reconstructed for every outer candidate before its inner subspace solve.
For the evaluated organization, the source coordinate spans bits and the target requires tier-and-bank dimensions, corresponding to 128 row-buffer domains for a full-rank . The bit-selecting family then contains 245,157 candidates for , while the structured-XOR family contributes 105,417,617 raw candidates. Together they yield 105,662,774 outer candidates before rank filtering and row-space deduplication. Applying this search directly to the Llama 4 full trace with 7,864,320 active-lane copy events would perform approximately evaluations of candidate copy events before any fixed-domain Problem 3 solve, full-map completion, or physical address-mapping evaluation.
At a sustained aggregate rate of 10 billion evaluations of candidate copy events per second on a large multicore CPU, this construction requires approximately 23.1 hours; at 1 billion evaluations per second, it requires approximately 9.6 days. These throughput-based estimates quantify raw outer construction before Problem 3 solves, map completion, or physical address-mapping evaluation. The outer construction alone therefore makes Rotaru-style exhaustive full-trace controller-map synthesis computationally prohibitive as a routine per-configuration path at the MoE FFN scale. Each new phase, problem shape, or autotuned tile configuration supplies a new workload-wide specialization target.
These experiments separate synthesis tractability from mapping effectiveness. Fixed global hashes are inexpensive but produce negligible changes in the evaluated replay. Rotaru-style exhaustive full-trace synthesis explores a much larger mapping space, but its candidate-dependent outer construction is computationally prohibitive at this scale. TileDRAM instead changes the specialization granularity: it keeps the controller mapping fixed and reuses placement selected per recurring tile access signature.
C Compiler Interface
Listing 1 shows an excerpt from the programmer-facing tiled GEMM kernel used by the compiler path in Section 5.1. The annotation exposes tiled-kernel semantics used by the compiler, while the kernel body uses ordinary tiled loads and matrix multiplication; the output-store path is omitted for brevity.
Listing 1. Programmer-facing tiled GEMM kernel excerpt used by the compiler path. The annotation exposes the tiled-kernel semantics consumed by TileDRAM, while the body remains ordinary Triton/Gluon code.
@tiledram.gemm( problem=tiledram.problem(M=256, N=256, K=4096), tile=tiledram.tile(BM=64, BN=64, BK=64), execution=tiledram.execution(num_warps=4, num_stages=1), operands=tiledram.operands( A=tiledram.lhs("a_ptr", dtype="fp16", layout="row_major", stride="K", 1)), B=tiledram.rhs("b_ptr", dtype="fp16", layout="row_major", stride="N", 1)), C=tiledram.out("c_ptr", dtype="fp16", layout="row_major", stride="N", 1)), ), )
@gluon.jit
def gemm_kernel(a_ptr, b_ptr, c_ptr, M, N, K, stride_am, stride_ak, stride_bk, stride_bn, stride_cm, stride_cn, BLOCK_M, BLOCK_N, BLOCK_K): a_ptrs = a_ptr + rows * stride_am + offs_k_a * stride_ak b_ptrs = b_ptr + offs_k_b * stride_bk + cols * stride_bn a_vals = ttgl.load(ttgl.set_auto_layout(a_ptrs, layout)) b_vals = ttgl.load(ttgl.set_auto_layout(b_ptrs, layout)) out_vals = ttgl.dot_fma(a_vals, b_vals, acc)
Tile-access and binding metadata. For each tile access signature, the compiler records the operand-property tuple, comprising operand position (lhs or rhs), data type (dtype), source-stride pattern (stride), and source layout (row-major or column-major), together with the access shape and address space needed by the lowered path, and routes the resulting source pointer tensor through APPLY. Compiler-side BIND performs template lookup and records the selected target-specific layout template together with the rule for deriving the tile ID from the current execution context. When that tile is placed in a DRAM region, runtime BIND obtains the referenced template from this binding metadata and combines it with the concrete tile ID, source interval, and concrete DRAM region to construct its tile descriptor for that region. Runtime BIND passes the descriptor for the active resident tile as a runtime input to APPLY.
Address-lowering sequence. For each admitted operand access, lowering places the APPLY path after the source pointer tensor is formed by address arithmetic. At execution, the path extracts the source-relative coordinates, separates the layout-unit index from the within-unit byte offset, applies the -linear map, affine XOR translation, and byte placement, then reconstructs the backend address while retaining that offset. Shifts, masks, XOR, parity, and address arithmetic implement this sequence before the original asynchronous copy.
The compiler records the canonical address-function associated with each transformed tile access signature. The compiler-side template reference and runtime BIND connect the programmer-facing kernel intent, the lowered compiler realization, and the simulator descriptor recorded by the cross-path equivalence artifact.
D Artifact and Evaluation Configuration
The artifact supports the three result groups reported in this paper: the 108-case MoE full suite and hardware cost calibration, the controller-mapping comparisons in Appendix B, and the six-organization retargeting sweep. It records the revisions, build options, simulator configuration files, trace manifests, and run manifests that determine the reported results.
Software surface. The artifact pins the TileDRAM source tree, Accel-Sim/GPGPU-Sim build, Ramulator2 checkout, Triton/Gluon compiler tree, CUDA and NVBit environment, Python package set, host OS, C++ compiler, and simulator build flags. The run manifests bind these fields to trace collection, layout selection, descriptor construction, and replay for each result group. All reported TileDRAM layouts are selected by the greedy route on the complete positive-weight support (Appendix A.5). Per-case synthesis-resource records support the offline layout-synthesis cost reported below; controller-mapping manifests support the comparisons in Appendix B.
Cross-path equivalence artifact. The artifact includes a hash-closed compiler–simulator execution-equivalence report. For every semantic address-function family, the report records the representative descriptor and descriptor-table hashes, canonical function hash, per-operand compiler transformation-binding and lowered-IR hashes, compiler binary hash, production transformer binary hash, structural-vector hash, and mismatch count. The release gate passes only when the canonical evaluator, lowered compiler IR, and production simulator transformer produce identical addresses for every reported vector. The current report admits all 108 main-suite configurations and covers the identity and selected-layout branches: 216 runtime descriptor tables (one per configuration per branch, each covering both input operands), 2,118,464 descriptors counted at per-tile-instance granularity, 378 semantic address-function families, and 45,460 structural byte addresses with zero mismatches.
Compiler-cost calibration artifact. The hardware calibration uses the same 108 full-GEMM kernel configurations as the main suite, spanning six model families and eight tile shapes. The selected templates supply the address computation for both operands. Each case records H0 without address transformation, H1 with identity address generation, and H2 with the selected transformation; only H2/H1 – 1 enters the reported overhead. Each mode contributes 51 measurements under a rotating six-order schedule and an adaptively sized timing window of at least 10 ms. The artifact records the case, template, generated-code, binary, and calibration-harness hashes together with the lowering report, resource report, SASS dump, and timing samples. The publication gate validates all 108 cases. The resulting transformation-versus-identity overhead is 0.17% geomean, below 0.01% median, 0.57% at the 95th percentile, and 4.93% maximum.
Offline layout-synthesis cost. TileDRAM performs one offline synthesis per case, producing the layouts for its tile access signatures and amortizing the synthesis cost across their dynamic tile instances. Across the 108-case solver-cost campaign, the measured median per-case synthesis time is 349.0 s and the measured median peak resident memory is 227.0 MB. The artifact records the solver route, wall time, peak resident memory, and completion status for each case.
Platform. GPU-side traces are collected from Triton and Gluon tiled GEMM kernels using NVBit [35, 48, 49] and replayed in a trace-driven Accel-Sim/Ramulator2 platform. Accel-Sim supplies the GPU execution context, including warp issue, instruction replay, memory stalls, and cycle accounting. Ramulator2 supplies the 3D DRAM backend, including address mapping, command scheduling, row-buffer state, read latency, and foreground queue wait. Appendix B separately specifies the controller-mapping alternatives used in the controller-mapping comparison.
Replay contract. Each baseline–TileDRAM pair is constructed from one CU-local access sequence and one target DRAM organization. The paired fields are the kernel shape, tile shape, execution staging, source trace, target organization, and fixed DRAM address mapping; each branch records its observed source ingress and controller service orders. The treatment field is DRAM placement: baseline uses conventional placement, while TileDRAM uses the selected tile-to-DRAM layout for the same target organization.
Main workload set. The primary MoE full suite contains 108 full-trace FFN cases from Qwen3 [40], DeepSeek-V3 [3], Qwen3.5-35B-A3B [41], Kimi K3 [15], Hunyuan-A13B [47], and Llama 4 [22], with 18 cases per family. Each family contributes one up/gate and one down projection, and each projection is measured at M = 64 over the four tiles , , , and at M = 128 over the five tiles , , , , , giving eight M = 64 and ten M = 128 cases per family over eight distinct tile shapes; is the one shape shared by both M groups, so it carries 24 of the 108 cases while each other shape carries 12. The suite also supplies the complete hardware address-transformation cost cohort. The artifact records the problem size, tile size, operand properties, including operand position, data type, source-stride pattern, and source layout, and model-family identifiers for each case. The retargeting sweep uses six full-trace FFN streams with shapes (64, 4096, 1536), (64, 4096, 7168), (64, 4096, 3072), (128, 8192, 5120), (128, 3584, 3072), and (128, 512, 2048), all with tiles and one pipeline stage.
Memory-system configurations. All modeled organizations use OpenRowPolicy and FR-FCFS. The full suite, fixed-hash supplement, and retargeting sweep use RoBaTiCoCh (Row-Bank-Tier-Column-Channel), realized by Ramulator2's RoBaRaCoCh mapper. The full suite uses 8 tiers, 16 banks, 13 row bits, and 3 column bits. Refresh is enabled for every replay in the 108-case full suite. The fixed-hash supplement uses the same tier/bank counts with 13 row bits and 3 column bits, as stated in Appendix B. For the main organization, the address-mapping byte period is one row-block span, bytes = 64 KiB; the corresponding spans for the retargeting organizations follow from their own domain counts and row sizes. In particular, the two row12/col4 organizations use 1-KiB rows and periods of 32 KiB and 128 KiB; the run manifests record the value used for each organization. The evaluated operand access sequence is an ordered tile-local access sequence of active-lane copy events generated by LDGSTS.128; operand-tile source-coordinate sequences are the optimization inputs, and all copy event and row-event counts use this same event granularity. Because the CU-local aperture path has neither cross-CU request merging nor a coalescing stage (Section 2.1), each active-lane LDGSTS.128 event is one 16-byte request at the stack boundary, and both replay arms share this granularity.
Controller-mapping artifacts. The artifact records each fixed-hash operation, scope, closure result, compile score, replay manifest, and the separate operand-scoped diagnostic entry for Appendix B.
Metric definitions. The request-weighted row-conflict rate is the pooled conflict count divided by all pooled row events. Pooled row-conflict reduction uses the corresponding summed baseline and TileDRAM conflict counts. For performance, each matched case contributes one speedup,
Speedup is reported as the geometric mean of per-case baseline-to-TileDRAM cycle ratios. Replay reports simulator-backed memory-system performance; RQ4 separately reports the hardware-measured address-transformation cost (Section 6.5). For organization o, we also report the pooled-cycle speedup
where contains the six workload streams evaluated under o. This organization-level pooled ratio is distinct from the six-stream geometric mean; the pooled-cycle range in RQ3 is the minimum and maximum of across the six organizations.
Reported metrics. The replay records row hits, row misses, row conflicts, row-buffer hit rate, row-conflict rate, Ramulator2 average read latency, foreground queue wait, shader memory-stall cycles, and cycles. The formal opening-miss count is a source-order, closed-domain quantity; replay row-miss counters are service-order observables that can also reflect refresh and controller behavior. The 108-case MoE full suite reports 75.7% baseline and 15.2% TileDRAM row-conflict rates, an 80.0% pooled reduction, and a 1.77× geomean speedup. Across the same cases, shader-memory stalls fall by 53.9% and request-weighted Ramulator2 read latency falls by 49.6%. The retargeting experiment reports 36 paired cases across six 3D DRAM organizations, with pooled row-conflict reduction of 79.2% and geomean speedup of 2.20×.