sim_lib_interference_compute/
lib.rs1#![forbid(unsafe_code)]
2#![deny(missing_docs)]
3
4mod constants;
16mod coordinates;
17mod dense;
18mod diff;
19mod evidence;
20mod lower;
21mod preflight;
22mod provider;
23mod resident;
24mod tile;
25
26pub use constants::{
27 PlaneTileConstants, PointTileConstants, SourcePhaseEstimate, SourceTileConstants,
28};
29pub use dense::{DenseExecutionEvidence, DenseF32Field, solve_dense_f32_cpu};
30pub use diff::{
31 ConformanceMetric, DifferentialError, DifferentialMaximum, DifferentialReport,
32 DifferentialTolerances, ScalarTolerance, compare_dense_to_reference,
33 compare_materialized_to_reference,
34};
35pub use evidence::{
36 HARDWARE_DETERMINISM_REPEATS, HardwareEvidenceMetrics, HardwareEvidenceReport,
37 HardwareMeasurementResult,
38};
39pub use lower::{LoweredTile, LoweringPlan};
40pub use preflight::{
41 LoweringError, PhaseBudget, PreflightCheck, REQUIRED_TENSOR_OPERATION_NAMES, TileProfile,
42};
43pub use provider::{
44 CpuFallbackReason, InterferenceComputeLib, ProviderRoute, TensorStudyConfig,
45 TensorStudySnapshot, TensorStudySolver, interference_compute_lib_symbol,
46};
47pub use tile::{PlaneTile, TilePlan};
48
49pub static RECIPES: sim_cookbook::EmbeddedDir =
51 include!(concat!(env!("OUT_DIR"), "/cookbook_recipes.rs"));
52
53#[cfg(test)]
54mod hardware_tests;
55#[cfg(test)]
56mod modeled_tests;
57#[cfg(test)]
58mod tests;