Compiling ipu-codegen v0.1.0 (/srv/home/gc-sdk/ipu-stack/crates/ipu-codegen) warning: unused import: `region_program` --> crates/ipu-codegen/src/estimate/mod.rs:22:23 | 22 | operation_cycles, region_program, | ^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unused import: `memory::*` --> crates/ipu-codegen/src/estimate/mod.rs:39:16 | 39 | pub(crate) use memory::*; | ^^^^^^^^^ warning: unused import: `contiguous_axis_blocks` --> crates/ipu-codegen/src/storage/mod.rs:12:49 | 12 | ByteTraversal, StridedSpan, byte_traversal, contiguous_axis_blocks, contiguous_axis_stride, panel_byte_traversal, | ^^^^^^^^^^^^^^^^^^^^^^ warning: unused imports: `axis_tiling` and `broadcast_operand_tiling` --> crates/ipu-codegen/src/tensor/mod.rs:99:5 | 99 | axis_tiling, broadcast_operand_tiling, project_tiling, same_distribution, | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ warning: methods `objectives` and `total_with_exchange` are never used --> crates/ipu-codegen/src/estimate/memory.rs:57:19 | 46 | impl MemoryPeaks { | ---------------- methods in this implementation ... 57 | pub(crate) fn objectives(self) -> [u64; 5] { | ^^^^^^^^^^ ... 67 | pub(crate) fn total_with_exchange(self) -> u64 { | ^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: function `tensor_memory` is never used --> crates/ipu-codegen/src/estimate/memory.rs:106:15 | 106 | pub(crate) fn tensor_memory(tensor: &TensorType) -> MemoryUsage { | ^^^^^^^^^^^^^ warning: function `operation_cycles` is never used --> crates/ipu-codegen/src/estimate/mid.rs:26:15 | 26 | pub(crate) fn operation_cycles<'a>( | ^^^^^^^^^^^^^^^^ warning: function `maximum_axis_shard_extent` is never used --> crates/ipu-codegen/src/estimate/tensor.rs:25:15 | 25 | pub(crate) fn maximum_axis_shard_extent(tensor: &TensorType, axis: usize) -> u64 { | ^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `WORKER_CALL_CYCLES` is never used --> crates/ipu-codegen/src/kernel/copy.rs:18:18 | 18 | pub(crate) const WORKER_CALL_CYCLES: u64 = ipu_target::ipu21::costs::COSTS.local_copy_call_cycles; | ^^^^^^^^^^^^^^^^^^ warning: field `complete_rows` is never read --> crates/ipu-codegen/src/kernel/binding.rs:326:9 | 323 | pub(crate) struct OutputCapability { | ---------------- field in this struct ... 326 | pub complete_rows: bool, | ^^^^^^^^^^^^^ warning: function `supports_row_major_population` is never used --> crates/ipu-codegen/src/kernel/rearrange.rs:307:15 | 307 | pub(crate) fn supports_row_major_population(order: ElementOrder) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: function `is_single_use` is never used --> crates/ipu-codegen/src/mid/rewrite.rs:44:15 | 44 | pub(crate) fn is_single_use( | ^^^^^^^^^^^^^ warning: function `producer_through_copies` is never used --> crates/ipu-codegen/src/mid/rewrite.rs:141:15 | 141 | pub(crate) fn producer_through_copies( | ^^^^^^^^^^^^^^^^^^^^^^^ warning: function `fusion_pays` is never used --> crates/ipu-codegen/src/mid/rewrite.rs:171:15 | 171 | pub(crate) fn fusion_pays<'a>( | ^^^^^^^^^^^ warning: method `input_axis` is never used --> crates/ipu-codegen/src/tensor/mod.rs:54:19 | 38 | impl<'a> Broadcast<'a> { | ---------------------- method in this implementation ... 54 | pub(crate) fn input_axis(self, output_axis: usize) -> Option { | ^^^^^^^^^^ warning: method `minimum_extent` is never used --> crates/ipu-codegen/src/tensor/resolved.rs:50:19 | 15 | impl ResolvedAxis { | ----------------- method in this implementation ... 50 | pub(crate) fn minimum_extent(&self) -> u32 { | ^^^^^^^^^^^^^^ warning: function `broadcast_operand_tiling` is never used --> crates/ipu-codegen/src/tensor/resolved.rs:503:15 | 503 | pub(crate) fn broadcast_operand_tiling( | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: function `axis_tiling` is never used --> crates/ipu-codegen/src/tensor/resolved.rs:514:15 | 514 | pub(crate) fn axis_tiling(tensor: &TensorType, axis: usize) -> Option<&AxisTiling> { | ^^^^^^^^^^^ warning: `ipu-codegen` (lib test) generated 18 warnings (run `cargo fix --lib -p ipu-codegen --tests` to apply 4 suggestions) Finished `release` profile [optimized] target(s) in 32.50s Running unittests src/lib.rs (target/release/deps/ipu_codegen-8a4acda8960e2f33) running 30 tests test estimate::cycles::tests::exchange_controls_overlap_payload_but_share_issue_slots ... ok test estimate::movement::tests::whole_block_major_shards_remain_contiguous_when_replicated ... ok test estimate::exchange_storage::tests::contiguous_receives_share_pointer_setup_but_separate_allocations_do_not ... ok test estimate::tests::explicit_zero_copy_offsets_have_identity_cost ... ok test estimate::exchange_storage::tests::relocated_rows_share_code_but_keep_patch_storage ... ok test estimate::movement::tests::uneven_and_fp8_grids_match_expanded_spans ... ok test estimate::tests::live_memory_uses_physical_owners_including_wrapped_offsets ... ok test estimate::tests::memory_retains_repeat_yields_until_the_backedge ... ok test estimate::exchange_storage::tests::payload_routes_and_iterated_senders_prevent_incompatible_sharing ... ok test estimate::movement::tests::row_and_column_cuts_have_different_fragmentation ... ok test estimate::cycles::tests::randomized_exchange_endpoint_costs_overlap_opposite_directions ... ok test estimate::tests::randomized_average_shard_storage_covers_spatial_work ... ok test estimate::memory_profile::tests::parameters_remain_live_after_their_last_operator_use ... ok test estimate::tests::unaligned_broadcast_does_not_receive_paired_bandwidth ... ok test estimate::tests::randomized_resolved_capacity_matches_physical_storage ... ok test estimate::movement::tests::grid_counts_match_expanded_row_and_panel_intersections ... ok test estimate::tests::remote_copy_charges_local_zero_extension_and_staging ... ok test estimate::tests::paired_broadcast_cost_tracks_physical_owners_and_sender_lane_contention ... ok test estimate::tests::local_copy_cost_accumulates_all_shards_on_each_tile ... ok test estimate::program::tests::repeated_timelines_match_unrolled_execution ... ok test estimate::cycles::tests::randomized_pointwise_costs_track_spatial_work_per_tile ... ok test estimate::tests::coarse_copy_memory_covers_detailed_liveness_without_ownership_expansion ... ok test estimate::movement::tests::randomized_packed_grids_match_expanded_transfers ... ok test estimate::program::tests::scheduled_phase_prices_follow_repeat_execution_counts ... ok test estimate::tests::cached_copy_prices_match_uncached_geometry_variants ... ok test estimate::tests::randomized_copy_traffic_matches_scalar_ownership_and_crops ... ok test estimate::tests::randomized_conversion_traffic_counts_fragmented_multicasts ... ok test estimate::tests::unpack_cost_uses_source_matrices_before_linear_redistribution ... ok test estimate::exchange_storage::symbolic_tests::repeated_rows_match_chunk_events_and_pointer_continuation ... ok test estimate::movement::tests::row_owned_fp8_to_tall_panels_exposes_sub_256_byte_transfers ... ok test result: ok. 30 passed; 0 failed; 0 ignored; 0 measured; 276 filtered out; finished in 0.03s