Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Getting Started

This section covers how to install and start using tropical-gemm.

Overview

tropical-gemm is organized as a Cargo workspace with three crates:

CrateDescription
tropical-gemmCore library with CPU implementation
tropical-gemm-cudaOptional GPU acceleration via CUDA
tropical-gemm-pythonPython bindings for NumPy/PyTorch

System Requirements

CPU

  • Rust 1.70 or later
  • x86-64 (AVX2/AVX-512) or ARM64 (NEON) for best performance

GPU (optional)

  • NVIDIA GPU with compute capability 3.5+
  • CUDA Toolkit 11.0 or later
  • nvcc in PATH

Python (optional)

  • Python 3.8+
  • NumPy 1.20+
  • PyTorch 2.0+ (for autograd integration)

Next Steps