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.6.tar.gz (5.7 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.6-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scicomp_compute_core-0.1.6.tar.gz
  • Upload date:
  • Size: 5.7 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.6.tar.gz
Algorithm Hash digest
SHA256 d43f55e4fb16b345a000c42e6f9b1a0ad2e5ddc56961a3335342b164b0d824a5
MD5 806db3652dd6c74ae203a75dbd9b8425
BLAKE2b-256 2d36c9682cf652eb350ca5b1c97b3d9a6c793879f6a92e69b59b44f08f655663

See more details on using hashes here.

Provenance

The following attestation bundles were made for scicomp_compute_core-0.1.6.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.6-py3-none-any.whl.

File metadata

File hashes

Hashes for scicomp_compute_core-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 e4b464c91c00988ac689ba6683d536d452f531336bdf2d644f70c6d0efe4c7da
MD5 9ea29658070aaf76a4bafc72f80ad166
BLAKE2b-256 4b07480d4b3a0e1a2aeaddc48a897999ef56c780c039364e4f048fff190a624b

See more details on using hashes here.

Provenance

The following attestation bundles were made for scicomp_compute_core-0.1.6-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