#![forbid(unsafe_code)]
#![deny(missing_docs)]
mod constants;
mod coordinates;
mod dense;
mod diff;
mod evidence;
mod lower;
mod preflight;
mod provider;
mod resident;
mod tile;
pub use constants::{
PlaneTileConstants, PointTileConstants, SourcePhaseEstimate, SourceTileConstants,
};
pub use dense::{DenseExecutionEvidence, DenseF32Field, solve_dense_f32_cpu};
pub use diff::{
ConformanceMetric, DifferentialError, DifferentialMaximum, DifferentialReport,
DifferentialTolerances, ScalarTolerance, compare_dense_to_reference,
compare_materialized_to_reference,
};
pub use evidence::{
HARDWARE_DETERMINISM_REPEATS, HardwareEvidenceMetrics, HardwareEvidenceReport,
HardwareMeasurementResult,
};
pub use lower::{LoweredTile, LoweringPlan};
pub use preflight::{
LoweringError, PhaseBudget, PreflightCheck, REQUIRED_TENSOR_OPERATION_NAMES, TileProfile,
};
pub use provider::{
CpuFallbackReason, InterferenceComputeLib, ProviderRoute, TensorStudyConfig,
TensorStudySnapshot, TensorStudySolver, interference_compute_lib_symbol,
};
pub use tile::{PlaneTile, TilePlan};
pub static RECIPES: sim_cookbook::EmbeddedDir =
include!(concat!(env!("OUT_DIR"), "/cookbook_recipes.rs"));
#[cfg(test)]
mod hardware_tests;
#[cfg(test)]
mod modeled_tests;
#[cfg(test)]
mod tests;