Skip to content
ISBN: B0HS68X4GG
ISBN13: 9798349699849

MLIR Compiler Engineering: Building Extensible Compilers and Hardware Accelerators with Dialects, Passes, and Lowering

$29.39List Price: $39.99
Save $10.60!
ISBN: B0HS68X4GG
ISBN13: 9798349699849
Formats

Conditions

A brand-new, unused copy in perfect condition.

Formats

Conditions

A brand-new, unused copy in perfect condition.

See all 1 editionsfrom $29.39

Book Overview

MLIR Compiler Engineering is a practical guide for compiler engineers, systems programmers, and machine-learning infrastructure developers who build compilers and hardware accelerators on top of MLIR, the Multi-Level Intermediate Representation in the LLVM project.

The book opens with MLIR's architecture and rationale: the multi-level design, operations, regions, blocks, and SSA values, and the role of dialects as modular, interoperable semantic containers. It then covers defining your own dialects and operations with the Operation Definition Specification (ODS), TableGen, and the C++ and Python APIs, including custom types and attributes, verifiers, assembly formats, and diagnostics.

Later chapters work through constructing, parsing, and validating IR; the pass infrastructure and pattern-based rewriting; and the analysis and dataflow frameworks, including alias and dependence analysis. Lowering, dialect conversion, type conversion, and bufferization are then covered as the path from high-level representations to platform code.

Performance chapters address loop tiling, fusion, vectorization, polyhedral scheduling, and kernel generation for sparse and quantized workloads. Code-generation chapters cover LLVM, NVVM, ROCDL, GPU, and SPIR-V targets, ABI concerns, and emission workflows. Accelerator chapters cover StableHLO and TOSA import, quantization, and DMA scheduling. The final chapters turn to tooling, testing with lit and FileCheck, Python integration, visualization, security, and production deployment.

Format:
Paperback
Language:
English
ISBN:
B0HS68X4GG
ISBN13:
9798349699849
Release Date:
November 2026
Publisher:
Nobtrex Press
Length:
468 Pages
Weight:
1.37 lbs.
Dimensions:
9.0″ × 0.9″ × 6.0″

Customer Reviews

0 customer ratings | 0 reviews
Write a Review

There are currently no reviews. Be the first to review this work.