Python bindings for hipFile — direct-to-GPU file IO via AMD Infinity Storage (AIS)
Project description
hipFile Python Bindings
Python bindings for the hipFile C library.
[!CAUTION] These bindings in particular are experimental and the API will change.
Building & Installing
- Setup a Python virtual environment.
$ python3 -m venv .venv
- Activate the Python virtual environment.
$ source .venv/bin/activate
- Build or install the C hipFile library. See INSTALL.md.
- Build the hipFile package.
and shared library using its configured search paths, including the source../includelocation for headers, a CMake build-directory hint for the shared library, and the default ROCm install location. The search path can be overridden by settingHIPFILE_INCLUDE_DIR,HIPFILE_LIBRARY, orHIP_INCLUDE_DIRvia the build arg-Ccmake.define.<KEY>=<VALUE>.(.venv) $ cd projects/hipfile/python (.venv) $ python -m build --wheel
Or to install an editable version of the Python package:(.venv) $ cd projects/hipfile/python (.venv) $ pip install -e .
An editable Python package is a development package that allows for live changes to the Python source code to be applied immediately without needing to rebuild or reinstall the Python package under development. Any changes to the Cython source code will require a rebuild step.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hipfile-0.2.0.dev0.tar.gz
(10.7 kB
view details)
File details
Details for the file hipfile-0.2.0.dev0.tar.gz.
File metadata
- Download URL: hipfile-0.2.0.dev0.tar.gz
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
185f5ade65fd3b9b2b0909d42ff505d46ece72ebfd4a6fd4ec59b034047a58b5
|
|
| MD5 |
b115d72f6896bf2f51044dd4f504ac41
|
|
| BLAKE2b-256 |
2d2a02016c4f44d3e2c9e8650c8f93f8fe8a17a2489327e2b329d62b8f313cd6
|