Cargo Features
[dependencies]
perdix = { version = "0.1.1", default-features = false, features = ["cuda", "webgpu"] }
- default = webgpu
-
Default to universal GPU support
- cuda = cust
-
NVIDIA GPU path
Affects
ffi::launch_unified_kernel_async,buffer::gpu_arena,perdix::runtime,perdix::gpu… - webgpu default = pollster, wgpu
-
Universal GPU path
Affects
perdix::webgpu…
Features from optional dependencies
In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.