Initial commit

This commit is contained in:
redclawsystems
2026-03-04 00:08:42 +00:00
commit 4d88dc0584
4449 changed files with 1556714 additions and 0 deletions
@@ -0,0 +1,14 @@
// Copyright (c) 2024 RustyTorch Team
// Licensed under MIT OR Apache-2.0
//! Compute abstraction layer for GPU-accelerated CFD operations.
//!
//! This module provides backend-agnostic GPU computation supporting:
//! - CUDA on NVIDIA GPUs
//! - Metal on Apple Silicon (Metal 4 features on macOS 26+)
//! - CPU fallback for testing and non-GPU systems
pub mod gpu_backend;
pub use gpu_backend::{
BackendType, CpuBackend, GpuBackend, GpuBuffer, LaunchConfig, auto_detect_backend,
};