Unified computational primitives: NumPy/CuPy arrays, FFT, linear algebra
Project description
scicomp-compute-core
GPU-accelerated computation core for the Math-Physics-ML MCP system.
Overview
This package provides high-performance array operations and numerical computing utilities with optional GPU acceleration using CuPy. It includes:
- Array utilities - Unified interface for NumPy and CuPy arrays
- GPU acceleration - Seamless CPU/GPU array conversion
- Numerical operations - Optimized mathematical functions
- Linear algebra - Matrix operations and decompositions
- FFT operations - Fast Fourier transforms with GPU support
Installation
# CPU only
pip install scicomp-compute-core
# With GPU support (CUDA 12.x)
pip install scicomp-compute-core[gpu]
Quick Start
from compute_core.arrays import to_gpu, to_numpy
import numpy as np
# Create array on CPU
arr = np.array([1, 2, 3, 4, 5])
# Move to GPU (if available)
gpu_arr = to_gpu(arr)
# Perform GPU operations
result = gpu_arr * 2
# Move back to CPU
cpu_result = to_numpy(result)
Features
- Automatic device selection - Works with or without GPU
- Transparent acceleration - Same API for CPU and GPU arrays
- Type safety - Full type hints for all functions
- Performance - Optimized for numerical computing workflows
Part of Math-Physics-ML MCP System
This package is part of a larger system. See the full documentation for details on all available components.
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
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 scicomp_compute_core-0.1.2.tar.gz.
File metadata
- Download URL: scicomp_compute_core-0.1.2.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fab4735f331949e8b322a26989b86545611178cde83ab486a47d67e5061f008d
|
|
| MD5 |
0fc9539b1cf2d0f03a17c9f7dff99241
|
|
| BLAKE2b-256 |
41ba84bd1bcb8942b468ea68bbd31840f880217570af8cbb75504f1a73997f66
|
Provenance
The following attestation bundles were made for scicomp_compute_core-0.1.2.tar.gz:
Publisher:
publish.yml on andylbrummer/math-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scicomp_compute_core-0.1.2.tar.gz -
Subject digest:
fab4735f331949e8b322a26989b86545611178cde83ab486a47d67e5061f008d - Sigstore transparency entry: 785421004
- Sigstore integration time:
-
Permalink:
andylbrummer/math-mcp@7f98d62a6f5715447eaeee20d891a0722fd25be7 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/andylbrummer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7f98d62a6f5715447eaeee20d891a0722fd25be7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file scicomp_compute_core-0.1.2-py3-none-any.whl.
File metadata
- Download URL: scicomp_compute_core-0.1.2-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02cd6dc4aba258e6fd5939ff2545c0a62bf9d5178902f9ab6c1a86d57fb76d17
|
|
| MD5 |
a407e1cbcfc85a17c27fd7b503e38c16
|
|
| BLAKE2b-256 |
429b5daf728844ca6124b9ceb822d787844bf364c3e3f1705a4e880e9afb5490
|
Provenance
The following attestation bundles were made for scicomp_compute_core-0.1.2-py3-none-any.whl:
Publisher:
publish.yml on andylbrummer/math-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scicomp_compute_core-0.1.2-py3-none-any.whl -
Subject digest:
02cd6dc4aba258e6fd5939ff2545c0a62bf9d5178902f9ab6c1a86d57fb76d17 - Sigstore transparency entry: 785421010
- Sigstore integration time:
-
Permalink:
andylbrummer/math-mcp@7f98d62a6f5715447eaeee20d891a0722fd25be7 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/andylbrummer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7f98d62a6f5715447eaeee20d891a0722fd25be7 -
Trigger Event:
push
-
Statement type: