Metadata-Version: 2.4
Name: oven-compiler
Version: 0.1.7
Summary: Python-to-PTX GPU Kernel Compiler with MLIR optimization
Author-email: Sinjin Jeong <sjjeong94@gmail.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/sjjeong94/oven-compiler
Project-URL: Documentation, https://github.com/sjjeong94/oven-compiler#readme
Project-URL: Repository, https://github.com/sjjeong94/oven-compiler.git
Project-URL: Bug Tracker, https://github.com/sjjeong94/oven-compiler/issues
Project-URL: Source Code, https://github.com/sjjeong94/oven-compiler
Project-URL: Download, https://pypi.org/project/oven-compiler/
Keywords: mlir,gpu,cuda,compiler,optimization,kernel,ptx,python,llvm,nvptx
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: C++
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Software Development :: Compilers
Classifier: Topic :: Software Development :: Code Generators
Classifier: Topic :: System :: Hardware
Classifier: Topic :: System :: Hardware :: Symmetric Multi-processing
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy>=1.20.0
Requires-Dist: oven-language>=0.1.3
Provides-Extra: python-compilation
Provides-Extra: dev
Requires-Dist: pytest>=6.0; extra == "dev"
Requires-Dist: pytest-cov; extra == "dev"
Requires-Dist: black>=22.0; extra == "dev"
Requires-Dist: isort>=5.10; extra == "dev"
Requires-Dist: flake8>=4.0; extra == "dev"
Requires-Dist: mypy>=0.950; extra == "dev"
Requires-Dist: pre-commit>=2.15; extra == "dev"
Provides-Extra: docs
Requires-Dist: sphinx>=4.0; extra == "docs"
Requires-Dist: sphinx-rtd-theme>=1.0; extra == "docs"
Requires-Dist: myst-parser>=0.17; extra == "docs"
Provides-Extra: test
Requires-Dist: pytest>=6.0; extra == "test"
Requires-Dist: pytest-cov>=3.0; extra == "test"
Requires-Dist: pytest-xdist>=2.0; extra == "test"
Provides-Extra: build
Requires-Dist: build>=0.8; extra == "build"
Requires-Dist: twine>=4.0; extra == "build"
Requires-Dist: wheel>=0.37; extra == "build"
Dynamic: license-file

# Oven Compiler

Python-to-PTX GPU compiler using MLIR.

## Installation

```bash
pip install oven-compiler
```

## Quick Start

### Command Line

```bash
# Compile Python to PTX
oven-compiler --python kernel.py -o output.ptx
```

### Python API

```python
import oven_compiler

python_code = "def add(a, b): return a + b"
ptx_code = oven_compiler.compile_python_string_to_ptx(python_code)
```

## Requirements

- Python ≥ 3.12
- CUDA-capable GPU (for execution)

## License

MIT License
