High-performance Python library for zero-copy memory mapping.
Project description
PointerFlow
PointerFlow is a high-performance library for Python designed to eliminate the data transfer bottleneck between CPU and GPU. By using zero-copy memory mapping, it allows processors to share a common physical memory space completely asynchronously. It is powered by C++ and custom-made CUDA kernels.
The Edge of Low Latency
In applications where milliseconds also count, PointerFlow is faster than conventional frameworks like PyTorch in real-time data flow management applications.
- Round-Trip Latency: Reduced from 0.86 ms (industry standard) to 0.14 ms.
- Dispatch Overhead: Return of control to Python in < 0.1 ms using non-blocking CUDA Streams.
- True Zero-Copy: Complete elimination of
cudaMemcpy. Data written to a NumPy view is instantly available to the GPU via the PCIe bus.
Technical Architecture
PointerFlow combines the efficiency of C++20 with the flexibility of Python through a low-level integration.
- Memory Management (RAII): Automatic lifecycle management of Pinned Memory and CUDA Streams to prevent memory leaks in high-frequency executions.
- NumPy Integration: Creating memory views using
py::capsule, allowing Python to manipulate data in RAM that is read directly by the GPU. - Asynchronous Execution: Native support for CUDA kernels fired in independent streams, allowing real overlap of computation and business logic.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pointerflow-0.1.0.tar.gz.
File metadata
- Download URL: pointerflow-0.1.0.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
777e67111e78f0a7606f14d7fd0f09eae2bd171807231a4cffb5eed2eb50dea8
|
|
| MD5 |
667e275f5b90f2ab919b5c55c1e927c4
|
|
| BLAKE2b-256 |
a91ed13c853ace8107ee671a09923706142691330afcbf6f1d1f2934555f22d2
|
Provenance
The following attestation bundles were made for pointerflow-0.1.0.tar.gz:
Publisher:
publish.yml on Sheikyon/PointerFlow
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pointerflow-0.1.0.tar.gz -
Subject digest:
777e67111e78f0a7606f14d7fd0f09eae2bd171807231a4cffb5eed2eb50dea8 - Sigstore transparency entry: 908845898
- Sigstore integration time:
-
Permalink:
Sheikyon/PointerFlow@e5834a1767ad9af5ce57f03a2a74e54d63b40756 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Sheikyon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e5834a1767ad9af5ce57f03a2a74e54d63b40756 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pointerflow-0.1.0-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: pointerflow-0.1.0-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 278.9 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52ae058cee580c58c59f3a045a250534670a3a63aa031109827e8d510d725d4e
|
|
| MD5 |
075fa5480969b228948d969055c5e565
|
|
| BLAKE2b-256 |
bff263907fe5852630d021ae60d39ea80dadd07f9c7a8e99b8124d8a0ec89100
|
Provenance
The following attestation bundles were made for pointerflow-0.1.0-cp312-cp312-win_amd64.whl:
Publisher:
publish.yml on Sheikyon/PointerFlow
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pointerflow-0.1.0-cp312-cp312-win_amd64.whl -
Subject digest:
52ae058cee580c58c59f3a045a250534670a3a63aa031109827e8d510d725d4e - Sigstore transparency entry: 908845904
- Sigstore integration time:
-
Permalink:
Sheikyon/PointerFlow@e5834a1767ad9af5ce57f03a2a74e54d63b40756 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Sheikyon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e5834a1767ad9af5ce57f03a2a74e54d63b40756 -
Trigger Event:
push
-
Statement type: