PTO Virtual ISA Architectural Manual
  • Home
  • Getting Started

PTO Virtual ISA Manual

  • Preface
  • Overview
  • Execution Model
  • State and Types
  • Tiles and GlobalTensor
  • Synchronization
  • PTO Assembly (PTO-AS)
  • Instruction Set (overview)
  • Programming Guide
  • Virtual ISA and IR
  • Bytecode and Toolchain
  • Memory Ordering and Consistency
  • Backend Profiles and Conformance
  • Glossary
  • Instruction Contract Template
  • Diagnostics Taxonomy
  • Instruction Family Matrix

Programming Model

  • Overview
  • Programming Model
  • Tile
  • GlobalTensor
  • Scalar
  • Event
  • Tutorial
  • Tutorials
    • Overview
    • Vec Add
    • Row Softmax
    • GEMM
  • Optimization
  • Debugging

Machine Model

  • Abstract Machine
  • Machine Index

ISA Reference

  • Overview
  • ISA Conventions
  • PTO AS Reference
    • Overview
    • PTO-AS Specification
    • Conventions
    • Non-ISA Operations
    • Elementwise Operations
    • Tile-Scalar Operations
    • Axis Operations
    • Memory Operations
    • Matrix Operations
    • Data Movement Operations
    • Complex Operations
    • Manual Binding Operations
    • Scalar Arithmetic Operations
    • Control Flow Operations
  • PTO ISA Table
  • Synchronization
    • TSYNC
  • Manual / Resource Binding
    • TASSIGN
    • TSETFMATRIX
    • TSET_IMG2COL_RPT
    • TSET_IMG2COL_PADDING
  • Elementwise (Tile-Tile)
    • TADD
    • TABS
    • TAND
    • TOR
    • TSUB
    • TMUL
    • TMIN
    • TMAX
    • TCMP
    • TDIV
    • TSHL
    • TSHR
    • TXOR
    • TLOG
    • TRECIP
    • TPRELU
    • TADDC
    • TSUBC
    • TCVT
    • TSEL
    • TRSQRT
    • TSQRT
    • TEXP
    • TNOT
    • TRELU
    • TNEG
    • TREM
    • TFMOD
  • Tile-Scalar / Tile-Immediate
    • TEXPANDS
    • TCMPS
    • TSELS
    • TMINS
    • TADDS
    • TSUBS
    • TDIVS
    • TMULS
    • TFMODS
    • TREMS
    • TMAXS
    • TANDS
    • TORS
    • TSHLS
    • TSHRS
    • TXORS
    • TLRELU
    • TADDSC
    • TSUBSC
  • Axis Reduce / Expand
    • TROWSUM
    • TROWPROD
    • TCOLSUM
    • TCOLPROD
    • TCOLMAX
    • TROWMAX
    • TROWMIN
    • TCOLMIN
    • TROWEXPAND
    • TROWEXPANDDIV
    • TROWEXPANDMUL
    • TROWEXPANDSUB
    • TROWEXPANDADD
    • TROWEXPANDMAX
    • TROWEXPANDMIN
    • TROWEXPANDEXPDIF
    • TCOLEXPAND
    • TCOLEXPANDDIV
    • TCOLEXPANDMUL
    • TCOLEXPANDADD
    • TCOLEXPANDMAX
    • TCOLEXPANDMIN
    • TCOLEXPANDSUB
    • TCOLEXPANDEXPDIF
  • Memory (GM <-> Tile)
    • TLOAD
    • TPREFETCH
    • TSTORE
    • TSTORE_FP
    • MGATHER
    • MSCATTER
  • Matrix Multiply
    • TMATMUL
    • TMATMUL_ACC
    • TMATMUL_BIAS
    • TMATMUL_MX
    • TGEMV
    • TGEMV_ACC
    • TGEMV_BIAS
    • TGEMV_MX
  • Data Movement / Layout
    • TMOV
    • TMOV_FP
    • TEXTRACT
    • TEXTRACT_FP
    • TINSERT
    • TINSERT_FP
    • TFILLPAD
    • TFILLPAD_INPLACE
    • TFILLPAD_EXPAND
    • TRESHAPE
    • TTRANS
    • TIMG2COL
  • Complex Instructions
    • TGATHER
    • TGATHERB
    • TSCATTER
    • TCI
    • TTRI
    • TPARTADD
    • TPARTMUL
    • TPARTMAX
    • TPARTMIN
    • TSORT32
    • TMRGSORT
    • TQUANT
    • TPRINT
  • Reference
    • Intrinsics Header
    • All Instructions Index

Examples & Kernels

  • Overview
  • High-Performance Kernels
    • GEMM Performance
    • Flash Attention
  • Baseline Demos
    • Add Demo
    • GEMM Demo
  • Tests
    • Tests Overview
    • Test Scripts

Documentation

  • Docs Index
  • Build Documentation
  • Full Index
PTO Virtual ISA Architectural Manual
  • PTO Virtual ISA Manual

PTO Virtual ISA Manual¶

This page is the stable entry point for the PTO Virtual Instruction Set Architecture manual. The chaptered source of truth is maintained under mkdocs/src/manual/.

Primary entry¶

  • Preface and reading order
  • Manual overview chapter
  • Virtual ISA and AS contract
  • Bytecode and toolchain contract
  • Memory ordering and consistency
  • Backend profiles and conformance

Chapter map¶

  1. Overview
  2. Execution Model
  3. State and Types
  4. Tiles and GlobalTensor
  5. Synchronization
  6. PTO Assembly (PTO-AS)
  7. Instruction Set (overview)
  8. Programming Guide
  9. Virtual ISA and AS
  10. Bytecode and Toolchain
  11. Memory Ordering and Consistency
  12. Backend Profiles and Conformance
  13. Appendix A: Glossary
  14. Appendix B: Instruction Contract Template
  15. Appendix C: Diagnostics Taxonomy
  16. Appendix D: Instruction Family Matrix

Built with MkDocs using a theme provided by Read the Docs.