Rolls up everything since 43c46ac8 into a single commit. Its tree is
identical to the tree of private master at
b3c77f2d2b20a432be10591a2129547c10b1c24b.
- A Cargo workspace of five crates under crates/: metal2vulkan (the
translator and the metal2vulkan command), metal2vulkan-runtime (the
Metal API on Vulkan), metal2vulkan-air (the AIR front end),
metal2vulkan-validation and metal2vulkan-devtools.
- Dual license: GPL-2.0-or-later OR LGPL-3.0-or-later.
- docs/: API, architecture, fast paths, how-to, Metal coverage,
refusals, runtime porting and validation guides.
Private-Commit: b3c77f2d2b20a432be10591a2129547c10b1c24b
18 lines
668 B
Rust
18 lines
668 B
Rust
//! Shard 2 of the ledger's coverage of the owned fixtures' compiles (`common/ledger_coverage.rs`).
|
|
//!
|
|
//! This binary installs the worker's counting allocator and runs one test, so no other test
|
|
//! thread allocates while a compile is measured and the allocator peak is exactly the compile's.
|
|
|
|
use metal2vulkan_validation::worker::alloc::CountingAllocator;
|
|
|
|
#[global_allocator]
|
|
static ALLOCATOR: CountingAllocator = CountingAllocator;
|
|
|
|
#[path = "common/ledger_coverage.rs"]
|
|
mod ledger_coverage;
|
|
|
|
#[test]
|
|
fn ledger_covers_the_allocator_peak_of_every_owned_fixture_compile() {
|
|
ledger_coverage::ledger_covers_the_allocator_peak_of_every_owned_fixture_compile(2);
|
|
}
|