Skip to main content

Acceleration-facing interfaces corresponding to MNPBEM mex integrations.

Project description

mnpbem-mex

PyPI version Python versions Publish mnpbem-mex

mnpbem-mex provides acceleration-backend discovery hooks for optional compiled modules.

Scientific Context

Acceleration backends are used to reduce numerical runtime. A common indicator is speedup:

$$ S = \frac{T_{\mathrm{python}}}{T_{\mathrm{accelerated}}} $$

This package provides capability detection needed before using accelerated kernels.

Implementation

  • Backend probe: src/mnpbem_mex/backend.py

Dependencies

  • numpy>=1.24

Installation

pip install mnpbem-mex

Example

Runnable example:

  • examples/basic_usage.py

Run:

python examples/basic_usage.py

Author

Project details


Download files

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

Source Distribution

mnpbem_mex-0.1.1.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

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

mnpbem_mex-0.1.1-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file mnpbem_mex-0.1.1.tar.gz.

File metadata

  • Download URL: mnpbem_mex-0.1.1.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for mnpbem_mex-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e6ee725b34b16833ef1255c2c62355f6bbde90391b0fc5d3686afc165252cb4d
MD5 41e46ad3696afa2c44a84bd3fcd7c614
BLAKE2b-256 4b04f835dd97d35cf0ac5c2bec49d18adfe6de241acf59e95b5804fd26d505af

See more details on using hashes here.

File details

Details for the file mnpbem_mex-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: mnpbem_mex-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for mnpbem_mex-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 442f8b520127cfaa67819a3e9434398afa0c5d62d1b74774bf18abb52d1fb80c
MD5 2bc656d713f3fb799d7df4295d2bb8d5
BLAKE2b-256 c23b9372602e9af39852b3a31a9d5337e87c7a7f72475c961297456d17482ac0

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