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

Uploaded Python 3

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

Hashes for scicomp_compute_core-0.1.2.tar.gz
Algorithm Hash digest
SHA256 fab4735f331949e8b322a26989b86545611178cde83ab486a47d67e5061f008d
MD5 0fc9539b1cf2d0f03a17c9f7dff99241
BLAKE2b-256 41ba84bd1bcb8942b468ea68bbd31840f880217570af8cbb75504f1a73997f66

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for scicomp_compute_core-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 02cd6dc4aba258e6fd5939ff2545c0a62bf9d5178902f9ab6c1a86d57fb76d17
MD5 a407e1cbcfc85a17c27fd7b503e38c16
BLAKE2b-256 429b5daf728844ca6124b9ceb822d787844bf364c3e3f1705a4e880e9afb5490

See more details on using hashes here.

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

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