C++ library for GPU numerical computing with Python-like syntax
Top 30.6% on sourcepulse
MatX is a C++17 library designed for high-performance numerical computing on NVIDIA GPUs and CPUs, targeting researchers and engineers who need efficient tensor operations with a Python-like syntax. It aims to provide near-native performance with reduced code complexity compared to lower-level CUDA programming or even GPU libraries like CuPy.
How It Works
MatX leverages optimized backend libraries and employs efficient kernel generation for custom operations. Its core design revolves around a C++ template-based tensor abstraction that allows for operator overloading and expression fusion. This enables the compiler to optimize complex sequences of operations, minimizing intermediate data movement and maximizing computational throughput. The library supports a wide range of data types, including half-precision and complex numbers, with specialized wrappers for seamless host and device execution.
Quick Start & Requirements
Highlighted Details
Maintenance & Community
CONTRIBUTING.md
.Licensing & Compatibility
Limitations & Caveats
2 days ago
1 day