[package] name = "rtx-hemodynamics" version = "1.0.0" edition = "2024" rust-version = "1.92" description = "GPU-accelerated Physics-Informed Neural Network for hemodynamics simulation" authors = ["RustyTorch Team"] license = "MIT OR Apache-2.0" repository = "https://github.com/rustytorch/rustytorch" keywords = ["pinn", "hemodynamics", "navier-stokes", "cfd", "medical"] categories = ["science", "simulation", "mathematics"] [dependencies] # RustyTorch++ core crates rtx-tensor = { path = "../../crates/core/rtx-tensor", default-features = false } rtx-autograd = { path = "../../crates/core/rtx-autograd" } rtx-nn = { path = "../../crates/core/rtx-nn", default-features = false } rtx-losses = { path = "../../crates/core/rtx-losses" } rtx-runtime = { path = "../../crates/core/rtx-runtime", optional = true } # Shared types for IPC rtx-hemodynamics-shared = { path = "../shared" } # External dependencies anyhow = "1.0" thiserror = "2" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" cudarc = { version = "0.18.1", optional = true } [dev-dependencies] # Testing proptest = "1.4" approx = "0.5" criterion = { version = "0.5", features = ["html_reports"] } tempfile = "3.0" [features] default = ["cpu"] # openblas/metal are opt-in: openblas breaks arm64 macOS (sgemm zeros) + needs system lib; metal is macOS-only and breaks Linux cuda = ["rtx-tensor/cuda", "rtx-nn/cuda", "rtx-runtime", "cudarc"] metal = ["rtx-tensor/metal", "rtx-nn/metal"] cpu = ["rtx-tensor/cpu"] openblas = ["rtx-tensor/openblas"] mkl = ["rtx-tensor/mkl"] [lints] workspace = true