navatala_gpu
Generated Python bindings and runtime facade for Navatala GPU operations.
Scope
- This package contains Python modules, a nanobind extension scaffold, machine-readable API metadata, and smoke tests for the curated public surface.
- The package links against the public Navatala GPU C ABI exposed by
navatala/navatala_ffi.h. - Raw kernel wrappers under
navatala_gpu.kernelsare an internal/advanced surface; most users should prefer the curated modules such asnavatala_gpu.runtimeandnavatala_gpu.linalg.
Build
The default package build uses the bundled public runtime in stub mode, so
pip install . works on hosts without GPU SDKs. Advanced users may link
against an already-built runtime by passing the public runtime include
directory and shared library:
cmake -S . -B build \
-DNAVATALA_FFI_INCLUDE_DIR=/path/to/gpu_runtime/include \
-DNAVATALA_FFI_LIBRARY=/path/to/libgpu_runtime.so
cmake --build build -j
For Python packaging, use a build frontend compatible with scikit-build-core.
Python Usage
import navatala_gpu
caps = navatala_gpu.get_capabilities()
assert "extension_loaded" in caps
assert isinstance(navatala_gpu.supports("axpy", backend="opencl", dtype="float32"), bool)
Runtime Notes
import navatala_gpuis designed to be safe on hosts without GPU drivers.- Backend availability is reported through
navatala_gpu.get_capabilities()andnavatala_gpu.supports(...). - NumPy interop uses explicit host/device copies through
Tensor.from_numpy(...)andTensor.to_numpy(...). - DLPack interop is zero-copy only where the runtime can prove backend compatibility.
Manifest id: pyabi6-2675513039
Metadata
Release files for navatala-gpu 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| navatala_gpu-0.2.0.tar.gz | 4.5 MB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| navatala_gpu-0.2.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl | CPython 3.13 | CPython 3.13 | Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 | Details |
| navatala_gpu-0.2.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl | CPython 3.12 | CPython 3.12 | Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 | Details |
| navatala_gpu-0.2.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl | CPython 3.11 | CPython 3.11 | Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 | Details |
| navatala_gpu-0.2.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 | Details |
| navatala_gpu-0.2.0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl | CPython 3.9 | CPython 3.9 | Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 | Details |
Total release size: 6.6 MB