{"product_id":"mastering-mlir-building-next-generation-compilers-and-ai-applications-9798268278750","title":"Mastering Mlir: Building Next-Generation Compilers and AI Applications","description":"\u003cp\u003e • Author(s): Oren Davis\u003cbr\u003e • Publisher: Independently Published\u003cbr\u003e • Publisher Imprint: Independently Published\u003cbr\u003e • BISAC: Programming - Compilers\u003c\/p\u003e\u003cp\u003e\u003c\/p\u003e\u003cp\u003e\u003cb\u003eBuild reliable, portable compiler pipelines with MLIR to power real AI and systems workloads.\u003c\/b\u003e\u003c\/p\u003e\u003cp\u003eModern 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.\u003c\/p\u003e\u003cp\u003eYou 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.\u003c\/p\u003e\u003cul\u003e\n\u003cli\u003e\n\u003c\/li\u003e\n\u003cli\u003eDefine custom dialects, operations, types, attributes, traits, and interfaces\u003c\/li\u003e\n\u003cli\u003e\n\u003c\/li\u003e\n\u003cli\u003eWrite rewrites with PatternRewriter and PDLL, and compile PDLL to PDL\u003c\/li\u003e\n\u003cli\u003e\n\u003c\/li\u003e\n\u003cli\u003eCompose pass pipelines with verification, timing, stats, and crash reproducers\u003c\/li\u003e\n\u003cli\u003e\n\u003c\/li\u003e\n\u003cli\u003eUse Linalg, Tensor, and Vector dialects for tiling, fusion, and vectorization\u003c\/li\u003e\n\u003cli\u003e\n\u003c\/li\u003e\n\u003cli\u003eApply bufferization and lifetime management with one-shot and alias analysis\u003c\/li\u003e\n\u003cli\u003e\n\u003c\/li\u003e\n\u003cli\u003eModel control flow with scf and cf, and schedule transformations with Transform IR\u003c\/li\u003e\n\u003cli\u003e\n\u003c\/li\u003e\n\u003cli\u003eTarget GPUs using gpu and nvgpu, then lower to nvvm, PTX, SPIR V, and ROCm\u003c\/li\u003e\n\u003cli\u003e\n\u003c\/li\u003e\n\u003cli\u003eWork with Sparse Tensor, sparsification pipelines, and the sparse runtime\u003c\/li\u003e\n\u003cli\u003e\n\u003c\/li\u003e\n\u003cli\u003eBuild quantization flows with the quant dialect and StableHLO, then lower to integer kernels\u003c\/li\u003e\n\u003cli\u003e\n\u003c\/li\u003e\n\u003cli\u003eIntegrate with frameworks via Torch-MLIR, StableHLO, and TOSA\u003c\/li\u003e\n\u003cli\u003e\n\u003c\/li\u003e\n\u003cli\u003eDeliver end-to-end pipelines to IREE, Vulkan, and CPU backends, including EmitC\u003c\/li\u003e\n\u003cli\u003e\n\u003c\/li\u003e\n\u003cli\u003ePackage and distribute with MLIR bytecode, link runtimes, and manage ABI concerns\u003c\/li\u003e\n\u003cli\u003e\n\u003c\/li\u003e\n\u003cli\u003eDebug and profile generated code with logs, traces, and deterministic reproducers\u003c\/li\u003e\n\u003cli\u003e\n\u003c\/li\u003e\n\u003cli\u003eAutomate reproducibility with pinned LLVM versions, CI, and chapter-aligned tests\u003c\/li\u003e\n\u003c\/ul\u003e\u003cp\u003eThis is a code-focused guide with runnable MLIR, PDLL, TableGen, C, and Python examples that map directly to real pipelines.\u003c\/p\u003e\u003cp\u003e\u003cb\u003eGet the toolkit you need to ship robust MLIR systems-grab your copy today.\u003c\/b\u003e\u003c\/p\u003e","brand":"Atlantic Books","offers":[{"title":"Paperback","offer_id":46332345745559,"sku":"9798268278750","price":2874.0,"currency_code":"INR","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0666\/3471\/1191\/files\/9798268278750.webp?v=1768725903","url":"https:\/\/atlanticbooks.com\/products\/mastering-mlir-building-next-generation-compilers-and-ai-applications-9798268278750","provider":"Atlantic Books","version":"1.0","type":"link"}