Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

hipFile Python Bindings

Python bindings for the hipFile C library.

[!CAUTION] These bindings in particular are experimental and the API will change.

Building & Installing

  1. Setup a Python virtual environment.
    $ python3 -m venv .venv
    
  2. Activate the Python virtual environment.
    $ source .venv/bin/activate
    
  3. Build or install the C hipFile library. See INSTALL.md.
  4. Build the hipFile package.
    and shared library using its configured search paths, including the source ../include location for headers, a CMake build-directory hint for the shared library, and the default ROCm install location. The search path can be overridden by setting HIPFILE_INCLUDE_DIR, HIPFILE_LIBRARY, or HIP_INCLUDE_DIR via 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.

Release files for hipfile 0.4.0.dev0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hipfile 0.4.0.dev0
File Size Uploaded
hipfile-0.4.0.dev0.tar.gz 22.5 kB Details

Release files / hipfile-0.4.0.dev0.tar.gz

Download URL hipfile-0.4.0.dev0.tar.gz
Size 22.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5c259730072129f1fc0d75f60bac3651d98500d619930818a0313b6d5426f4ad
BLAKE2b-256 checksum
How to use checksums
9f37280d247c9a6bd0ddfd8a9f1e5eafaf64c7b52b61ab5026aa74ef2a10c971
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page