Skip to main content

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

scicomp_compute_core-0.1.3.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

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

scicomp_compute_core-0.1.3-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file scicomp_compute_core-0.1.3.tar.gz.

File metadata

  • Download URL: scicomp_compute_core-0.1.3.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

Hashes for scicomp_compute_core-0.1.3.tar.gz
Algorithm Hash digest
SHA256 0738beedc8c1e7333025b1656de6926bb1a59351c76d515e677f0fc567fafb78
MD5 e6bed178fc8fd94fa81c9b966ab22d3a
BLAKE2b-256 0fbc50b3f6429afcd0165faeaef71c780ace15bdfa55288a5c6f72fc7f8bd7dd

See more details on using hashes here.

Provenance

The following attestation bundles were made for scicomp_compute_core-0.1.3.tar.gz:

Publisher: publish.yml on andylbrummer/math-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scicomp_compute_core-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for scicomp_compute_core-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c42772395d2c811979c820101d372a087288043e6c1a64c5036bb469254df1db
MD5 c6d11247bc768869aa440c3837ff5e17
BLAKE2b-256 8f1c130b947121f9bc389512adc3d8f12ba6a7de82e92c8f1c133ee3f01a7088

See more details on using hashes here.

Provenance

The following attestation bundles were made for scicomp_compute_core-0.1.3-py3-none-any.whl:

Publisher: publish.yml on andylbrummer/math-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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