Files
rustytorch/crates/specialized/rtx-cfd/src/compute/mod.rs
T
2026-03-04 00:08:42 +00:00

15 lines
488 B
Rust

// 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,
};