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:21:23 | 21 | operation_cycles, region_program, | ^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unused import: `program::program_cycles` --> crates/ipu-codegen/src/estimate/mod.rs:24:16 | 24 | pub(crate) use program::program_cycles; | ^^^^^^^^^^^^^^^^^^^^^^^ warning: unused import: `memory::*` --> crates/ipu-codegen/src/estimate/mod.rs:38:16 | 38 | 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, 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:320:9 | 317 | pub(crate) struct OutputCapability { | ---------------- field in this struct ... 320 | pub complete_rows: bool, | ^^^^^^^^^^^^^ warning: function `supports_row_major_population` is never used --> crates/ipu-codegen/src/kernel/rearrange.rs:185:15 | 185 | pub(crate) fn supports_row_major_population(order: ElementOrder) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: method `remap_tiles` is never used --> crates/ipu-codegen/src/mid/ownership.rs:11:19 | 8 | impl MidGraph { | ------------- method in this implementation ... 11 | pub(crate) fn remap_tiles(&mut self, mapping: &[u16]) -> Result<(), ProgramError> { | ^^^^^^^^^^^ 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: function `remap_owners` is never used --> crates/ipu-codegen/src/tensor/owners.rs:9:15 | 9 | pub(crate) fn remap_owners<'a>( | ^^^^^^^^^^^^ warning: method `remapped` is never used --> crates/ipu-codegen/src/tensor/owners.rs:100:19 | 47 | impl OwnerMap { | ------------- method in this implementation ... 100 | pub(crate) fn remapped(&self, mapping: &Arc<[u16]>) -> 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 22 warnings (run `cargo fix --lib -p ipu-codegen --tests` to apply 5 suggestions) Finished `test` profile [unoptimized + debuginfo] target(s) in 9.37s Running unittests src/lib.rs (target/debug/deps/ipu_codegen-831d595bb2b9c529) running 19 tests test planner::gemm::tests::report_mlp_boundary_diversity ... ignored, large catalogue measurement; run explicitly in release mode test planner::search_tests::empty_graph_keeps_identity_outputs_and_checks_memory ... ok test planner::tests::boundaries_share_branch_values_and_include_repeat_parameters_and_body ... ok test planner::search_tests::invalid_proposed_layout_does_not_discard_valid_vector_plan ... ok test planner::search_tests::native_resident_layout_avoids_compact_preparation ... ok test planner::search_tests::copies_into_padded_linear_layouts_lower_for_vectors_and_matrices ... ok test planner::search_tests::escaped_add_result_is_preserved_and_resident_parameters_are_not_freed ... ok test planner::parameters::tests::defaults_preserve_rows_or_aligned_contiguous_vector_intervals ... ok test planner::gemm::tests::grid_enumeration_preserves_every_feasible_local_geometry ... ok test planner::search_tests::unfused_chain_matches_the_exhaustive_layout_minimum ... ok test planner::candidates::tests::defaults_are_compact_complete_and_bounded_for_batched_shapes ... ok test planner::search::property_tests::interleaved_capacity_is_enforced_even_when_total_storage_fits ... ok test planner::search_tests::dp_matches_exhaustive_boundary_choices_and_preserves_residual_computation ... ok test planner::gemm::tests::neighbour_layouts_connect_gemm_and_elementwise_chains_without_importing_residuals ... ok test planner::search::property_tests::randomized_memory_tradeoffs_match_exhaustive_paths ... ok test planner::gemm::tests::gemm_construction_accepts_private_mid_results_without_high_nodes ... ok test planner::search::property_tests::late_resident_choices_match_whole_program_memory_under_tight_budgets ... ok test planner::gemm::tests::randomized_distributed_gemms_match_dense_products_and_lower ... ok test planner::search::property_tests::randomized_dp_matches_complete_path_enumeration ... ok test result: ok. 18 passed; 0 failed; 1 ignored; 0 measured; 278 filtered out; finished in 59.56s