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.5.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.5-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scicomp_compute_core-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 0d2093cc77617af0d6b9886e329ef6c496592f564fc0eadb686ea9a09000909e
MD5 e8318d8e04badf6616c4ab53f4be11c3
BLAKE2b-256 f5466486d4180d8bebcc82c60bc87bf29b3e3c69cb9bbf5ae94d5b5e15d96cf3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for scicomp_compute_core-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a81ee31d5d0de2e767f75ec283f8bb27f93bd56c221ca0285da29eee683bfd63
MD5 38052d7e1147be9312b243199173005b
BLAKE2b-256 2166717615f01526f1343c69940c27c1792ed5e22123228c28bed068b7ca8186

See more details on using hashes here.

Provenance

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