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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simframe_gpu-1.0.6.1.tar.gz (14.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simframe_gpu-1.0.6.1-py3-none-any.whl (74.7 kB view details)

Uploaded Python 3

File details

Details for the file simframe_gpu-1.0.6.1.tar.gz.

File metadata

  • Download URL: simframe_gpu-1.0.6.1.tar.gz
  • Upload date:
  • Size: 14.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.10.12

File hashes

Hashes for simframe_gpu-1.0.6.1.tar.gz
Algorithm Hash digest
SHA256 803868cc8330d95b176da1061d45e96bb32276ec3cb4e3a227b60edf7b890eb3
MD5 27b7bfa2fc907ed88a32b61d37ae0c1f
BLAKE2b-256 0cce2803c01d57a46e9e70081e6f06a0e282fd7555af0d0b8d52f0c97e3f9bed

See more details on using hashes here.

File details

Details for the file simframe_gpu-1.0.6.1-py3-none-any.whl.

File metadata

  • Download URL: simframe_gpu-1.0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 74.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.10.12

File hashes

Hashes for simframe_gpu-1.0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 faf97844fd2682a814689579a1e99cf63e85d4707b87f5fd299b03b2bc98f863
MD5 66c951d27d4111bc1c7c82092f694131
BLAKE2b-256 39fc38d5153fbf8db149b70c2d0c813194f6a1a4d531fd6eab0a1f9ee7b373ce

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page