Skip to main content
Ctrl+K

tvm-tirx

Get Started

  • Quick Start

IR Guides

  • IR Overview
  • Types and Expressions
  • Statements
  • Operators, Calls, and Regions
  • Functions and Modules
  • Printing and Parsing
  • Structural Traversal, Rewriting, and Comparison
  • Symbolic Integer Analysis
  • Working with IR in C++
  • Working with IR in Rust

Programming Guides

  • Programming Overview
  • Language Basics
  • Control Flow
  • Types, Tensors, and Memory
  • Metaprogramming
  • Calling CUDA and PTX
  • Data Layout
  • Tile Operations
  • Compiling and Inspecting
  • Profiling with IKET

Extending TIRx: everything is a plugin

  • Getting Started with Rust Extensions
  • Defining Types, Operators, and Passes
  • Using and Compiling the Extension

Reference

  • Python API
  • C++ API
  • Rust API

Developer Manual

  • Build from Source
  • Build This Doc Site
  • CUDA Backend Development
  • Reproduce CI/CD
  • Release Process
  • .rst

File file_utils.h

Contents

  • Definition (tvm/support/file_utils.h)
  • Includes
  • Namespaces
  • Functions

File file_utils.h#

↰ Parent directory (tvm/support)

Inline file format and binary I/O helpers.

Contents

  • Definition (tvm/support/file_utils.h)

  • Includes

  • Namespaces

  • Functions

Definition (tvm/support/file_utils.h)#

  • Program Listing for File file_utils.h

Includes#

  • fstream

  • string

  • tvm/ffi/error.h

  • tvm/ffi/string.h

  • utility

Namespaces#

  • Namespace tvm

  • Namespace tvm::support

Functions#

  • Function tvm::support::GetFileFormat

  • Function tvm::support::ReadBytesFromFile

  • Function tvm::support::WriteBytesToFile

Contents
  • Definition (tvm/support/file_utils.h)
  • Includes
  • Namespaces
  • Functions

By Apache TVM Community