Skip to main content

Simframe GPU

simframe-gpu is a backend-enabled fork of Simframe maintained to support dustpy-gpu. It preserves the simframe import name and adds the NumPy/CuPy backend infrastructure required by that fork.

Users normally do not need to install this package directly: installing dustpy-gpu from GitHub installs simframe-gpu automatically.

Backend-enabled fields

Upstream simframe implements Field as a NumPy array subclass. In simframe-gpu, Field is a stable array-like wrapper whose internal storage is native to the selected backend: a NumPy array for the NumPy backend and a CuPy array for the CuPy backend. This allows simulation objects using different backends to coexist in one process when executed sequentially and keeps the design extensible to tensor backends that do not inherit from NumPy arrays.

Standard arithmetic, indexing, assignment, and common array attributes remain available through the Field interface. Backend-specific low-level code can explicitly access the native array when an actual numpy.ndarray or cupy.ndarray is required.

Use simframe.frame.field_data(field) when low-level code needs the mutable backend-native storage directly. This helper does not copy or convert the array.

For direct development use, install it in a dedicated virtual environment:

python -m pip install git+https://github.com/astroboylrx/simframe-gpu.git

Refer to the upstream Simframe documentation for the underlying framework API.

Metadata

Release files for simframe-gpu 1.0.6.1

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

Source distribution (sdist)

Source distribution for simframe-gpu 1.0.6.1
File Size Uploaded
simframe_gpu-1.0.6.1.tar.gz 14.0 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for simframe-gpu 1.0.6.1
File Interpreter ABI Platform
simframe_gpu-1.0.6.1-py3-none-any.whl Python 3 none any Details

Total release size: 14.0 MB

Release files / simframe_gpu-1.0.6.1.tar.gz

Download URL simframe_gpu-1.0.6.1.tar.gz
Size 14.0 MB
Tags Source
SHA-256 checksum
How to use checksums
803868cc8330d95b176da1061d45e96bb32276ec3cb4e3a227b60edf7b890eb3
BLAKE2b-256 checksum
How to use checksums
0cce2803c01d57a46e9e70081e6f06a0e282fd7555af0d0b8d52f0c97e3f9bed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.12

Release files / simframe_gpu-1.0.6.1-py3-none-any.whl

Download URL simframe_gpu-1.0.6.1-py3-none-any.whl
Size 74.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
faf97844fd2682a814689579a1e99cf63e85d4707b87f5fd299b03b2bc98f863
BLAKE2b-256 checksum
How to use checksums
39fc38d5153fbf8db149b70c2d0c813194f6a1a4d531fd6eab0a1f9ee7b373ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

1.0.6.1 This release

2 release files

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