[package]
name = "ringkernel-wavesim3d"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
rust-version.workspace = true
description = "3D acoustic wave simulation with realistic physics, binaural audio, and GPU acceleration"
keywords = ["gpu", "simulation", "wave", "physics", "binaural"]
categories = ["simulation", "graphics", "visualization", "multimedia::audio"]
readme = "README.md"
[dependencies]
ringkernel = { version = "0.4.0", path = "../ringkernel" }
ringkernel-core = { version = "0.4.0", path = "../ringkernel-core" }
ringkernel-derive = { version = "0.4.0", path = "../ringkernel-derive" }
ringkernel-cuda-codegen = { version = "0.4.0", path = "../ringkernel-cuda-codegen", optional = true }
inventory = { workspace = true }
wgpu = { workspace = true }
winit = "0.30"
egui = "0.31"
egui-wgpu = "0.31"
egui-winit = "0.31"
glam = "0.29"
bytemuck = { version = "1.24", features = ["derive"] }
half = "2.4"
pollster = "0.3"
tokio = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
rayon = "1.11"
rand = "0.8"
hound = "3.5"
cpal = { version = "0.15", optional = true }
rustfft = { version = "6.2", optional = true }
ringkernel-cuda = { version = "0.4.0", path = "../ringkernel-cuda", optional = true }
cudarc = { workspace = true, optional = true }
syn = { workspace = true, optional = true }
[dev-dependencies]
criterion = { workspace = true }
[features]
default = ["cpu"]
cpu = ["ringkernel/cpu"]
cuda = ["ringkernel/cuda", "dep:ringkernel-cuda", "dep:cudarc"]
cuda-codegen = ["cuda", "dep:ringkernel-cuda-codegen", "dep:syn", "ringkernel-derive/cuda-codegen"]
cooperative = ["cuda", "ringkernel-cuda/cooperative"]
audio-output = ["dep:cpal", "dep:rustfft"]
[[bin]]
name = "wavesim3d"
path = "src/bin/wavesim3d.rs"
[[bin]]
name = "wavesim3d-benchmark"
path = "src/bin/benchmark.rs"
required-features = ["cuda"]
[[bin]]
name = "interactive-benchmark"
path = "src/bin/interactive_benchmark.rs"