1
2
3
4
5
6
7
8
#[cfg(all(feature = "metal", feature = "cuda"))]
compile_error!(
    "Can't enable both \"metal\" and \"cuda\" features at the same time.
If you were using the `--all-features` flag please read this crate's Cargo.toml"
);

#[cfg(feature = "cuda")]
pub mod cuda;