Metadata-Version: 2.4
Name: py-aocl-spsolve
Version: 0.1.0
Summary: ctypes wrapper around AMD's AOCL-Sparse, with a PyPardiso-like scipy.sparse.linalg.spsolve drop-in
License-Expression: MIT
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: Microsoft :: Windows
Classifier: Topic :: Scientific/Engineering :: Mathematics
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy
Requires-Dist: scipy
Dynamic: license-file

# py-aocl-spsolve

> **Download the AMD AOCL libraries (required, not bundled) from
> [amd.com/en/developer/aocl/sparse.html](https://www.amd.com/en/developer/aocl/sparse.html).**

A `ctypes` wrapper around AMD's [AOCL-Sparse](https://www.amd.com/en/developer/aocl/sparse.html), exposing a
PyPardiso-like drop-in for `scipy.sparse.linalg.spsolve` (`aoclsparse_py.spsolve`,
`aoclsparse_py.factorized`, `aoclsparse_py.AoclSparseSolver`).

## Requirements

- Windows
- Python >= 3.9
- AMD's [AOCL-Windows](https://www.amd.com/en/developer/aocl/sparse.html) suite installed
  (the loader looks for `aoclsparse.dll` under AMD's default install locations, then a
  manually-placed copy next to this package, then the current directory, then the OS DLL
  search path).

This package does **not** redistribute `aoclsparse.dll` or its AOCL-Utils/AOCL-LibFlame/AOCL-BLIS
dependencies — those are AMD's proprietary binaries and must be installed separately.
<!--
## Install

```bash
pip install py-aocl-spsolve
```
-->

## Usage

```python
import aoclsparse_py as aocl

x = aocl.spsolve(A, b)  # A: scipy.sparse matrix, b: array
```
