Skip to content

Booksellers & Trade Customers: Sign up for online bulk buying at trade.atlanticbooks.com for wholesale discounts

Booksellers: Create Account on our B2B Portal for wholesale discounts

Mastering Mlir: Building Next-Generation Compilers and AI Applications

by Oren Davis
Sold out
Current price ₹2,874.00
Original price ₹3,279.00
Original price ₹3,279.00
Original price ₹3,279.00
(-12%)
₹2,874.00
Current price ₹2,874.00

Imported Edition - Ships in 18-21 Days

Free Shipping in India on orders above Rs. 500

Request Bulk Quantity Quote
+91
Book cover type: Paperback
  • ISBN13: 9798268278750
  • Binding: Paperback
  • Subject: N/A
  • Publisher: Independently Published
  • Publisher Imprint: Independently Published
  • Publication Date:
  • Pages: 324
  • Original Price: GBP 26.02
  • Language: English
  • Edition: N/A
  • Item Weight: 563 grams
  • BISAC Subject(s): Programming / Compilers

Build reliable, portable compiler pipelines with MLIR to power real AI and systems workloads.

Modern teams need compilers that keep high-level intent while targeting CPUs, GPUs, and specialized accelerators. Toolchains change fast, and ad hoc IRs make projects brittle and hard to maintain. This book gives you a practical path to design, test, and ship MLIR-based pipelines that scale from research to production without rewrites.

You will learn how to express domain semantics as dialects, transform programs with reusable patterns, and lower progressively to stable backends. Along the way, you will use the pass manager, verification, bufferization, and GPU paths to build pipelines that are reproducible, testable, and fast.

  • Define custom dialects, operations, types, attributes, traits, and interfaces
  • Write rewrites with PatternRewriter and PDLL, and compile PDLL to PDL
  • Compose pass pipelines with verification, timing, stats, and crash reproducers
  • Use Linalg, Tensor, and Vector dialects for tiling, fusion, and vectorization
  • Apply bufferization and lifetime management with one-shot and alias analysis
  • Model control flow with scf and cf, and schedule transformations with Transform IR
  • Target GPUs using gpu and nvgpu, then lower to nvvm, PTX, SPIR V, and ROCm
  • Work with Sparse Tensor, sparsification pipelines, and the sparse runtime
  • Build quantization flows with the quant dialect and StableHLO, then lower to integer kernels
  • Integrate with frameworks via Torch-MLIR, StableHLO, and TOSA
  • Deliver end-to-end pipelines to IREE, Vulkan, and CPU backends, including EmitC
  • Package and distribute with MLIR bytecode, link runtimes, and manage ABI concerns
  • Debug and profile generated code with logs, traces, and deterministic reproducers
  • Automate reproducibility with pinned LLVM versions, CI, and chapter-aligned tests

This is a code-focused guide with runnable MLIR, PDLL, TableGen, C, and Python examples that map directly to real pipelines.

Get the toolkit you need to ship robust MLIR systems-grab your copy today.

Trusted for over 49 years

Family Owned Company

Secure Payment

All Major Credit Cards/Debit Cards/UPI & More Accepted

New & Authentic Products

India's Largest Distributor

Need Support?

Whatsapp Us