1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50[package]
name = "bevy_cuda"
version = "0.1.0"
edition = "2021"
[features]
default = []
python = ["dep:pyo3"]
# CUDA version features - pass through to cudarc
# Use cuda-version-from-build-system to auto-detect, or specify explicitly
cuda-version-from-build-system = ["cudarc/cuda-version-from-build-system"]
cuda-11040 = ["cudarc/cuda-11040"]
cuda-11050 = ["cudarc/cuda-11050"]
cuda-11060 = ["cudarc/cuda-11060"]
cuda-11070 = ["cudarc/cuda-11070"]
cuda-11080 = ["cudarc/cuda-11080"]
cuda-12000 = ["cudarc/cuda-12000"]
cuda-12010 = ["cudarc/cuda-12010"]
cuda-12020 = ["cudarc/cuda-12020"]
cuda-12030 = ["cudarc/cuda-12030"]
cuda-12040 = ["cudarc/cuda-12040"]
cuda-12050 = ["cudarc/cuda-12050"]
cuda-12060 = ["cudarc/cuda-12060"]
cuda-12080 = ["cudarc/cuda-12080"]
cuda-12090 = ["cudarc/cuda-12090"]
cuda-13000 = ["cudarc/cuda-13000"]
cuda-13010 = ["cudarc/cuda-13010"]
[dependencies]
bevy = { git = "https://github.com/BevyEngine/bevy", branch = "main" }
# Use the same wgpu versions as bevy main
wgpu = "27"
wgpu-hal = "27"
ash = "0.38"
cudarc = { version = "0.18", default-features = false, features = ["std", "driver", "nvrtc", "dynamic-loading"] }
thiserror = "2"
# Optional Python support
pyo3 = { version = "0.24.0", features = ["auto-initialize", "abi3-py311"], optional = true }
[target.'cfg(windows)'.dependencies]
windows = { version = "0.58.0", features = ["Win32_Security_Authorization", "Wdk", "Wdk_Foundation"] }
[target.'cfg(unix)'.dependencies]
# Linux uses standard file descriptors, no extra deps needed
[dev-dependencies]
bevy = { git = "https://github.com/BevyEngine/bevy", branch = "main", features = ["file_watcher"] }