#![forbid(unsafe_code)]
#![allow(unused_imports)]
#![allow(
clippy::only_used_in_recursion,
clippy::result_unit_err,
clippy::module_inception
)]
pub mod accounting;
pub mod allocation;
pub mod aot;
pub mod arm_independence;
pub mod async_copy_overlap;
pub mod autotune_store;
pub mod backend;
pub mod benchmark_pass_selection;
pub mod binding;
pub mod bindless_policy;
pub mod cache_eviction;
pub mod cache_eviction_heat;
pub mod cache_invalidation;
pub mod command_reuse_policy;
pub mod device_convergence;
pub mod device_diagnostic_aggregation;
pub mod device_extraction;
pub mod device_profile;
pub mod device_signature;
pub mod device_work_queue;
pub mod diagnostics;
pub mod dispatch_policy;
pub mod dispatch_shape;
pub mod extraction_cost;
pub mod fixpoint_iterations;
pub mod fusion;
pub mod graph_capture;
pub mod input_identity;
pub mod ordering;
pub mod output_slots;
pub mod param_inlining;
pub mod persistent_kernel_policy;
pub mod pipeline;
pub mod pipeline_fusion;
pub mod registry;
pub mod reservation_policy;
pub mod residency;
pub mod resident_transfer_fusion;
pub mod result_compaction;
pub mod routing;
pub mod shadow;
pub mod shape_prediction;
pub mod specialization;
pub mod speculation_substrate;
pub mod subgroup;
pub mod trace_jit_policy;
pub mod transfer_accounting;
pub mod tuner;
pub mod validation;
pub mod strategy;
pub mod program_walks;
pub mod observability;
pub mod speculate;
pub mod grid_sync;
pub mod launch;
pub mod launch_fusion;
pub mod megakernel_barrier;
pub mod megakernel_execution;
pub mod megakernel_frontier;
pub mod multi_query_execution;
pub mod numeric;
pub mod persistent;
pub use vyre_foundation::error;
pub use aot::{emit_aot_target, registered_aot_emitters, AotEmitter, AotTargetId};
pub use backend::{
borrowed_input_slices, default_dispatch_with_device_buffers,
replace_output_buffers_preserving_slots, validate_buffer_ownership,
validate_program_for_backend, BackendError, BackendRegistration, CompiledPipeline,
DeviceBuffer, DispatchConfig, Executable, HostShimBuffer, Memory, MemoryRef, OutputBuffers,
PendingDispatch, ResidentDispatchStep, ResidentReadRange, Resource, TimedDispatchResult,
TypedDispatchExt, VyreBackend, DEVICE_BUFFER_FEATURE,
};
pub use binding::{
binding_plans_share_layout, BackendLayoutClass, BackendLayoutFingerprint, BackendLayoutSlot,
Binding, BindingPlan, BindingRole, BindingSetFingerprint,
};
pub use device_extraction::{
extract_best_for_device, extract_best_for_devices, DeviceExtraction, ExtractionDevice,
};
pub use device_profile::DeviceProfile;
pub use device_signature::{DeviceSignature, DeviceSignatureTable};
pub use diagnostics::{Diagnostic, DiagnosticCode, OpLocation, Severity};
pub use dispatch_shape::{
borrowed_input_batch_shapes_match, borrowed_input_shapes_match,
dispatch_configs_share_launch_shape,
};
pub use error::Error;
pub use fixpoint_iterations::{resolve_fixpoint_iterations, resolve_fixpoint_iterations_usize};
pub use launch::{program_vsa_fingerprint, program_vsa_fingerprint_words, LaunchPlan};
pub use pipeline::{
compile, compile_owned, compile_owned_with_telemetry, compile_shared,
compile_shared_with_telemetry, compile_with_telemetry, hex_encode, hex_short,
CompiledPipelineBuild, DiskPipelineCache, PipelineCacheKey, PipelineCacheSnapshot,
PipelineDeviceFingerprint, PipelineFeatureFlags, CURRENT_PIPELINE_CACHE_KEY_VERSION,
};
pub use program_walks::{
coerce_to_pow2_with_tail_mask, dispatch_element_count, dispatch_param_words,
dispatch_param_words_into, element_size_bytes, enforce_actual_output_budget,
find_indirect_dispatch, infer_dispatch_grid, infer_dispatch_grid_for_count,
output_binding_layout, output_binding_layouts, output_layout_from_program,
try_coerce_to_pow2_with_tail_mask, try_dispatch_param_words, try_dispatch_param_words_into,
IndirectDispatch, OutputBindingLayout, OutputLayout, TailMaskPolicy,
};
pub use registry::{
default_validator, intern_string, AttrSchema, AttrType, Category, Chain, Dialect,
DialectRegistration, DialectRegistry, DuplicateOpIdError, EnforceGate, EnforceVerdict,
InternedOpId, LoweringCtx, LoweringTable, MutationClass, NativeModule, NativeModuleBuilder,
OpBackendTarget, OpDef, OpDefRegistration, PrimaryBinaryBuilder, PrimaryTextBuilder,
ReferenceKind, SecondaryTextBuilder, Signature, Target, TextModule, TypedParam,
};
pub use residency::{ResidentGraphReuseTelemetry, ResidentGraphReuseTelemetryError};
pub use routing::{select_sort_backend, Distribution, RoutingTable, SortBackend};
pub use specialization::{SpecCacheKey, SpecMap, SpecValue};
pub use speculate::{
record_speculative_variant_race, SpeculativeVariantDecision, SpeculativeVariantKeys,
SpeculativeVariantKind, SpeculativeVariantRace,
};
pub use subgroup::{SubgroupCaps, SubgroupOp};