Skip to content
IREE
Extensions
Initializing search
iree-org/iree
Home
Building from source
Guides
Reference
Developers
Community
Blog
IREE
iree-org/iree
Home
Building from source
Building from source
Getting started
Android cross-compilation
iOS cross-compilation
RISC-V cross-compilation
Guides
Guides
ML frameworks
ML frameworks
JAX
ONNX
PyTorch
TensorFlow
TensorFlow Lite
Deployment configurations
Deployment configurations
CPU
CPU - Bare-Metal
GPU - Vulkan
GPU - ROCm
GPU - CUDA
GPU - Metal
General topics
General topics
Parameters
Reference
Reference
General topics
General topics
Glossary
Optimization options
Tuning
Extensions
Extensions
Table of contents
Guidelines
Extension philosophy
When to extend
Where to extend (inputs/compiler/runtime)
Where to extend (host/device)
1. Target IREE input dialects
Pros
Cons
When to use
Implementation
2. Extend host code with custom modules
Pros
Cons
When to use
Implementation
3. Extend target-specific device conversion patterns
Pros
Cons
When to use
Implementation
4. Include external target-specific device code
Pros
Cons
When to use
Implementation
5. Dynamically link target-specific device code (CPU only)
Pros
Cons
When to use
Implementation
API bindings
API bindings
C API
Python
MLIR dialects
MLIR dialects
Core
Core
Flow
HAL
Stream
Util
VM
MLIR extensions
MLIR extensions
Encoding
LinalgExt
TensorExt
Codegen/target-specific
Codegen/target-specific
IREECodegen
IREECPU
IREEGPU
IREEVectorExt
PCF
VMVX
Optional modules
Optional modules
Check
HAL
HAL
Inline
Loader
IO
IO
Parameters
MLIR passes
MLIR passes
Core dialects
Core dialects
Flow
HAL
Stream
Util
VM
Pipelines
Pipelines
ConstEval
DispatchCreation
GlobalOptimization
InputConversion
Preprocessing
Codegen
Codegen
Common
Common/CPU
Common/GPU
Dialect/GPU
Dialect/PCF
Dialect/VectorExt
LLVMCPU
LLVMGPU
SPIRV
VMVX
Developers
Developers