gpu-allocator 0.26 was just published with metal support! Unfortunately the metal-rs crate that is used is heavily unmaintained, and some functions used by gpu-allocator are not yet available in the upstream metal-rs release. Attempts to contribute have thus far gone unnoticed.
This was worked around by a patch in Cargo.toml which does not translate to the crates.io release, so anyone turning on the not-default metal feature will get a compilation failure in gpu-allocator.
The workaround is to adopt the same [patch.crates-io] into your workspace root, while we work to resolve this issue upstream:
|
[patch.crates-io] |
|
metal = { git = "https://github.com/Traverse-Research/metal-rs", rev = "a354c33" } |
gpu-allocator 0.26was just published withmetalsupport! Unfortunately themetal-rscrate that is used is heavily unmaintained, and some functions used bygpu-allocatorare not yet available in the upstreammetal-rsrelease. Attempts to contribute have thus far gone unnoticed.This was worked around by a
patchinCargo.tomlwhich does not translate to the crates.io release, so anyone turning on the not-defaultmetalfeature will get a compilation failure ingpu-allocator.The workaround is to adopt the same
[patch.crates-io]into your workspace root, while we work to resolve this issue upstream:gpu-allocator/Cargo.toml
Lines 100 to 101 in cbf5299